From 7995d7dd82527dbb74c7a21383446b9b62f0a664 Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 10 Dec 2023 21:42:32 +0100 Subject: [PATCH] fixed spelling mistake --- mapchooser_extended/scripting/mapchooser_extended_avg.sp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mapchooser_extended/scripting/mapchooser_extended_avg.sp b/mapchooser_extended/scripting/mapchooser_extended_avg.sp index b4f82c5a..8b3317ac 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; }