mapchooser_extended: map restriction related fix

This commit is contained in:
zaCade 2018-08-12 20:16:03 +02:00
parent b582bfcf8a
commit b62176847f

View File

@ -1689,8 +1689,11 @@ void CreateNextVote()
b = GetRandomInt(0, GetArraySize(tempMaps) - 1); b = GetRandomInt(0, GetArraySize(tempMaps) - 1);
GetArrayString(tempMaps, b, map, PLATFORM_MAX_PATH); GetArrayString(tempMaps, b, map, PLATFORM_MAX_PATH);
if(InternalGetMapPlayerRestriction(map) == 0) if(InternalGetMapTimeRestriction(map) != 0)
break; continue;
if(InternalGetMapPlayerRestriction(map) != 0)
continue;
bool okay = true; bool okay = true;