mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-28 15:45:46 +03:00
Steam: up-to-date description of the game
This commit is contained in:
parent
d870d6bac9
commit
84ac04bc0d
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user