diff --git a/squirrelbattle/entities/friendly.py b/squirrelbattle/entities/friendly.py index 1a92392..9b149de 100644 --- a/squirrelbattle/entities/friendly.py +++ b/squirrelbattle/entities/friendly.py @@ -88,6 +88,7 @@ class Chest(InventoryHolder, FriendlyEntity): """ return self.annihilated + class Sunflower(FriendlyEntity): """ A friendly sunflower. diff --git a/squirrelbattle/game.py b/squirrelbattle/game.py index f59f676..44c1f48 100644 --- a/squirrelbattle/game.py +++ b/squirrelbattle/game.py @@ -421,7 +421,8 @@ class Game: self.maps = [Map().load_state(map_dict) for map_dict in d["maps"]] except KeyError as error: self.message = _("Some keys are missing in your save file.\n" - "Your save seems to be corrupt. It got deleted.") + f"\n{error}" + "Your save seems to be corrupt. It got deleted.")\ + + f"\n{error}" os.unlink(ResourceManager.get_config_path("save.json")) self.display_actions(DisplayActions.UPDATE) return