From a4af3717356acaaa03cb9065646eed64b406cf9b Mon Sep 17 00:00:00 2001 From: protochime327 <117958419+ccgm-harpy@users.noreply.github.com> Date: Tue, 13 Dec 2022 23:23:11 -0700 Subject: [PATCH] Made "size" conditional if "lobbymaps" set --- lib/MMRS.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/MMRS.py b/lib/MMRS.py index 91bc796..4a1b239 100644 --- a/lib/MMRS.py +++ b/lib/MMRS.py @@ -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