fixed spelling mistake

This commit is contained in:
jenz 2023-12-10 21:42:32 +01:00
parent 9f42cd9e81
commit 7995d7dd82

View File

@ -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;
}