mapchooser_extended: honor map restriction for maps inserted if there are not enough nominations
This commit is contained in:
parent
be3b773621
commit
40f3680e08
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user