Steam: up-to-date description of the game

This commit is contained in:
s1lent 2019-09-21 23:20:33 +07:00
parent d870d6bac9
commit 84ac04bc0d
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C

View File

@ -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];