AntiNoob: small fix
This commit is contained in:
parent
aafaff7237
commit
7e7423aace
@ -212,7 +212,7 @@ public void OnRoundStart(Event hEvent, const char[] sEvent, bool bDontBroadcast)
|
|||||||
|
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
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++;
|
ActivePlayers++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user