mapchooser_extended: map restriction related fix

This commit is contained in:
BotoX 2018-08-12 20:11:22 +02:00
parent 4b0632cc4a
commit 30fa51246e

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;