diff --git a/src/tilemapper/battlemap.py b/src/tilemapper/battlemap.py index 6b9d901..a1945a0 100644 --- a/src/tilemapper/battlemap.py +++ b/src/tilemapper/battlemap.py @@ -113,6 +113,7 @@ class BattleMap(BattleMapType): if char in self.tileset.config.legend: if char in '0123456789': locations = max(locations, int(char)) + continue output += f"{char} - {self.tileset.config.legend[char]}\n" if locations: location_key = "1" if locations == 1 else f"1-{locations}"