From 84ac04bc0d3458272447bc0a3d494ad9d849ea5c Mon Sep 17 00:00:00 2001 From: s1lent Date: Sat, 21 Sep 2019 23:20:33 +0700 Subject: [PATCH] Steam: up-to-date description of the game --- rehlds/engine/sv_steam3.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rehlds/engine/sv_steam3.cpp b/rehlds/engine/sv_steam3.cpp index bd86553..ad288fa 100644 --- a/rehlds/engine/sv_steam3.cpp +++ b/rehlds/engine/sv_steam3.cpp @@ -439,6 +439,11 @@ void CSteam3Server::RunFrame() bool iHasPW = (sv_password.string[0] && Q_stricmp(sv_password.string, "none")); CRehldsPlatformHolder::get()->SteamGameServer()->SetPasswordProtected(iHasPW); +#ifdef REHLDS_FIXES + // Let's get it an up-to-date description of the game + CRehldsPlatformHolder::get()->SteamGameServer()->SetGameDescription(gEntityInterface.pfnGetGameDescription()); +#endif + for (int i = 0; i < g_psvs.maxclients; i++) { client_t* cl = &g_psvs.clients[i];