Fixed early tv_enable causing crashes (bug 3766, r=dvander).
This commit is contained in:
parent
1112dfffb3
commit
6a24b049cb
@ -1327,6 +1327,11 @@ void PlayerManager::OnSourceModMaxPlayersChanged( int newvalue )
|
||||
|
||||
void PlayerManager::MaxPlayersChanged( int newvalue /*= -1*/ )
|
||||
{
|
||||
if (!m_FirstPass)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (newvalue == -1)
|
||||
{
|
||||
newvalue = gpGlobals->maxClients;
|
||||
|
Loading…
Reference in New Issue
Block a user