diff --git a/mapchooser_extended/scripting/mapchooser_extended_avg.sp b/mapchooser_extended/scripting/mapchooser_extended_avg.sp index b4f82c5..8b3317a 100755 --- a/mapchooser_extended/scripting/mapchooser_extended_avg.sp +++ b/mapchooser_extended/scripting/mapchooser_extended_avg.sp @@ -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; }