Fixed sp MaxClients not being updated on map changes after load (5160, r=fyren).
This commit is contained in:
parent
5a52fc3657
commit
49a860bc9e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user