diff --git a/mapchooser_extended/scripting/mapchooser_extended.sp b/mapchooser_extended/scripting/mapchooser_extended.sp index f1da052..a9e27a4 100644 --- a/mapchooser_extended/scripting/mapchooser_extended.sp +++ b/mapchooser_extended/scripting/mapchooser_extended.sp @@ -1144,15 +1144,17 @@ void InitiateVote(MapChange when, Handle inputlist=INVALID_HANDLE) GetArrayString(g_NextMapList, count, map, PLATFORM_MAX_PATH); count++; - if(randomizeList == INVALID_HANDLE) + if(InternalGetMapPlayerRestriction(map) == 0) { - /* Insert the map and increment our count */ - AddMapItem(map); + if(randomizeList == INVALID_HANDLE) + { + /* Insert the map and increment our count */ + AddMapItem(map); + } + else + PushArrayString(randomizeList, map); + i++; } - else - PushArrayString(randomizeList, map); - - i++; //Run out of maps, this will have to do. if(count >= availableMaps)