mapchooser_extended: map restriction related fix
This commit is contained in:
parent
4b0632cc4a
commit
30fa51246e
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user