diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index 327a85a6..3aff9249 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -260,7 +260,7 @@ public void OnMapEnd() RemoveStringFromArray(g_OldMapList, map); g_OldMapList.PushString(map); - if (g_OldMapList.Length > g_Cvar_ExcludeMaps.IntValue) + while (g_OldMapList.Length > g_Cvar_ExcludeMaps.IntValue) { g_OldMapList.Erase(0); }