From cc35a60210bc6cd825c9961ce2c8f6cf07f83a99 Mon Sep 17 00:00:00 2001 From: evilchili Date: Sun, 17 Aug 2025 14:43:07 -0700 Subject: [PATCH] bug in legend --- src/tilemapper/battlemap.py | 1 + 1 file changed, 1 insertion(+) 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}"