diff --git a/mapchooser_extended/scripting/mapchooser_extended_unloze.sp b/mapchooser_extended/scripting/mapchooser_extended_unloze.sp index b2157e8..6dbacde 100755 --- a/mapchooser_extended/scripting/mapchooser_extended_unloze.sp +++ b/mapchooser_extended/scripting/mapchooser_extended_unloze.sp @@ -3247,6 +3247,13 @@ public void OnClientPostAdminCheck(int client) stock int InternalGetMapPlayerRestriction(const char[] map) { int NumPlayers = GetClientCount(false); + for (int i = 1; i <= MaxClients; i++) + { + if (IsValidClient(i) && IsFakeClient(i)) + { + NumPlayers--; + } + } int MinPlayers = InternalGetMapMinPlayers(map); int MaxPlayers = InternalGetMapMaxPlayers(map);