Fixed sp MaxClients not being updated on map changes after load (5160, r=fyren).
authorNicholas Hastings <skamonkey@gmail.com>
Fri Nov 04 10:01:28 2011 -0400 (2011-11-04)
changeset 3436d9ef0c2068d7
parent 3434 2552e4578863
child 3437 601c67fafa17
Fixed sp MaxClients not being updated on map changes after load (5160, r=fyren).
core/PlayerManager.cpp
     1.1 --- a/core/PlayerManager.cpp	Thu Nov 03 10:03:01 2011 -0400
     1.2 +++ b/core/PlayerManager.cpp	Fri Nov 04 10:01:28 2011 -0400
     1.3 @@ -263,9 +263,9 @@
     1.4  		memset(m_AuthQueue, 0, sizeof(unsigned int) * (ABSOLUTE_PLAYER_LIMIT + 1));
     1.5  
     1.6  		g_NumPlayersToAuth = &m_AuthQueue[0];
     1.7 +	}
     1.8  
     1.9 -		g_PluginSys.SyncMaxClients(m_maxClients);
    1.10 -	}
    1.11 +	g_PluginSys.SyncMaxClients(m_maxClients);
    1.12  
    1.13  	g_OnMapStarted = true;
    1.14