Fixed sp MaxClients not being updated on map changes after load (5160, r=fyren).

This commit is contained in:
Nicholas Hastings 2011-11-04 10:01:28 -04:00
parent 5a52fc3657
commit 49a860bc9e

View File

@ -263,10 +263,10 @@ void PlayerManager::OnServerActivate(edict_t *pEdictList, int edictCount, int cl
memset(m_AuthQueue, 0, sizeof(unsigned int) * (ABSOLUTE_PLAYER_LIMIT + 1)); memset(m_AuthQueue, 0, sizeof(unsigned int) * (ABSOLUTE_PLAYER_LIMIT + 1));
g_NumPlayersToAuth = &m_AuthQueue[0]; g_NumPlayersToAuth = &m_AuthQueue[0];
g_PluginSys.SyncMaxClients(m_maxClients);
} }
g_PluginSys.SyncMaxClients(m_maxClients);
g_OnMapStarted = true; g_OnMapStarted = true;
g_Extensions.CallOnCoreMapStart(pEdictList, edictCount, m_maxClients); g_Extensions.CallOnCoreMapStart(pEdictList, edictCount, m_maxClients);