diff --git a/plugins/mapchooser.sp b/plugins/mapchooser.sp index 115b672ed..17db82d23 100644 --- a/plugins/mapchooser.sp +++ b/plugins/mapchooser.sp @@ -1007,7 +1007,7 @@ void CreateNextVote() g_OldMapList.GetString(i, map, sizeof(map)); RemoveStringFromArray(tempMaps, map); } - + int limit = (g_Cvar_IncludeMaxMaps.IntValue < tempMaps.Length ? g_Cvar_IncludeMaxMaps.IntValue : tempMaps.Length); for (int i = 0; i < limit; i++) {