AntiNoob: small fix

This commit is contained in:
Dogan 2019-09-30 14:17:23 +02:00
parent aafaff7237
commit 7e7423aace

View File

@ -212,7 +212,7 @@ public void OnRoundStart(Event hEvent, const char[] sEvent, bool bDontBroadcast)
for(int i = 1; i <= MaxClients; i++)
{
if(IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) != CS_TEAM_SPECTATOR)
if(IsClientInGame(i) && !IsFakeClient(i) && GetClientTeam(i) > 0)
{
ActivePlayers++;
}