Fix the GiantSeaEagle registration, fixes #76
This commit is contained in:
parent
44b967625c
commit
3758cb1336
@ -419,9 +419,9 @@ class Game:
|
||||
try:
|
||||
self.map_index = d["map_index"]
|
||||
self.maps = [Map().load_state(map_dict) for map_dict in d["maps"]]
|
||||
except KeyError:
|
||||
except KeyError as error:
|
||||
self.message = _("Some keys are missing in your save file.\n"
|
||||
"Your save seems to be corrupt. It got deleted.")
|
||||
"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
|
||||
|
@ -662,8 +662,8 @@ class Entity:
|
||||
"Bow": Bow,
|
||||
"Chest": Chest,
|
||||
"Chestplate": Chestplate,
|
||||
"Eagle": GiantSeaEagle,
|
||||
"FireBallStaff": FireBallStaff,
|
||||
"GiantSeaEagle": GiantSeaEagle,
|
||||
"Heart": Heart,
|
||||
"Hedgehog": Hedgehog,
|
||||
"Helmet": Helmet,
|
||||
|
Loading…
Reference in New Issue
Block a user