bug in legend
This commit is contained in:
parent
cdbb233622
commit
cc35a60210
|
@ -113,6 +113,7 @@ class BattleMap(BattleMapType):
|
||||||
if char in self.tileset.config.legend:
|
if char in self.tileset.config.legend:
|
||||||
if char in '0123456789':
|
if char in '0123456789':
|
||||||
locations = max(locations, int(char))
|
locations = max(locations, int(char))
|
||||||
|
continue
|
||||||
output += f"{char} - {self.tileset.config.legend[char]}\n"
|
output += f"{char} - {self.tileset.config.legend[char]}\n"
|
||||||
if locations:
|
if locations:
|
||||||
location_key = "1" if locations == 1 else f"1-{locations}"
|
location_key = "1" if locations == 1 else f"1-{locations}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user