Fix the GiantSeaEagle registration, fixes #76
This commit is contained in:
parent
44b967625c
commit
3758cb1336
|
@ -419,9 +419,9 @@ class Game:
|
||||||
try:
|
try:
|
||||||
self.map_index = d["map_index"]
|
self.map_index = d["map_index"]
|
||||||
self.maps = [Map().load_state(map_dict) for map_dict in d["maps"]]
|
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"
|
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"))
|
os.unlink(ResourceManager.get_config_path("save.json"))
|
||||||
self.display_actions(DisplayActions.UPDATE)
|
self.display_actions(DisplayActions.UPDATE)
|
||||||
return
|
return
|
||||||
|
|
|
@ -662,8 +662,8 @@ class Entity:
|
||||||
"Bow": Bow,
|
"Bow": Bow,
|
||||||
"Chest": Chest,
|
"Chest": Chest,
|
||||||
"Chestplate": Chestplate,
|
"Chestplate": Chestplate,
|
||||||
"Eagle": GiantSeaEagle,
|
|
||||||
"FireBallStaff": FireBallStaff,
|
"FireBallStaff": FireBallStaff,
|
||||||
|
"GiantSeaEagle": GiantSeaEagle,
|
||||||
"Heart": Heart,
|
"Heart": Heart,
|
||||||
"Hedgehog": Hedgehog,
|
"Hedgehog": Hedgehog,
|
||||||
"Helmet": Helmet,
|
"Helmet": Helmet,
|
||||||
|
|
Loading…
Reference in New Issue