diff --git a/core/PlayerManager.cpp b/core/PlayerManager.cpp index 040944a0..b5a1be02 100644 --- a/core/PlayerManager.cpp +++ b/core/PlayerManager.cpp @@ -235,7 +235,10 @@ void PlayerManager::OnServerActivate(edict_t *pEdictList, int edictCount, int cl if (!m_FirstPass) { /* Initialize all players */ - m_maxClients = clientMax; + + // clientMax will not necessarily be correct here (such as on late SourceTV enable) + m_maxClients = gpGlobals->maxClients; + m_PlayerCount = 0; m_Players = new CPlayer[ABSOLUTE_PLAYER_LIMIT + 1]; m_AuthQueue = new unsigned int[ABSOLUTE_PLAYER_LIMIT + 1];