fixed spelling mistake
This commit is contained in:
parent
9f42cd9e81
commit
7995d7dd82
@ -3031,17 +3031,17 @@ stock bool InternalAreRestrictionsActive()
|
||||
return false;
|
||||
}
|
||||
|
||||
int AcitvePlayerCount = 0;
|
||||
int ActivePlayerCount = 0;
|
||||
for (int i = 0; i < MaxClients; i++)
|
||||
{
|
||||
if (IsValidClient(i) && !IsFakeClient(i) && !IsClientSourceTV(i) && !is_bot_player[i] && GetClientIdleTime(i) < g_iPlayerAFKTime
|
||||
&& (GetClientTeam(i) == CS_TEAM_T || GetClientTeam(i) == CS_TEAM_CT))
|
||||
{
|
||||
AcitvePlayerCount++;
|
||||
ActivePlayerCount++;
|
||||
}
|
||||
}
|
||||
|
||||
if (AcitvePlayerCount <= g_iPlayerCount_excludeSpec)
|
||||
if (ActivePlayerCount <= g_iPlayerCount_excludeSpec)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user