mapchooser_extended: honor map restriction for maps inserted if there are not enough nominations

This commit is contained in:
BotoX 2016-08-17 20:58:49 +02:00
parent be3b773621
commit 40f3680e08

View File

@ -1141,6 +1141,10 @@ void InitiateVote(MapChange when, Handle inputlist=INVALID_HANDLE)
GetArrayString(g_NextMapList, count, map, PLATFORM_MAX_PATH);
count++;
// Honor map restriction.
if(InternalGetMapPlayerRestriction(map) != 0)
continue;
if(randomizeList == INVALID_HANDLE)
{
/* Insert the map and increment our count */