Skip to content

Commit

Permalink
Made "size" conditional if "lobbymaps" set
Browse files Browse the repository at this point in the history
  • Loading branch information
ccgm-harpy committed Dec 14, 2022
1 parent 75ee9f1 commit a4af371
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/MMRS.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,11 @@ def valid_maps(self):
return False

if not mapZip.valid_config_size(configStr):
print(f"The map {self.mapsPath}{self.slash}{_mapZip} has invalid map.config size setting")
return False
if mapZip.valid_config_lobby_map(configStr):
pass
else:
print(f"The map {self.mapsPath}{self.slash}{_mapZip} has invalid map.config size setting")
return False

return True

Expand Down

0 comments on commit a4af371

Please sign in to comment.