This commit is contained in:
2026-04-17 18:24:32 -04:00
parent d8460826db
commit e2075ebf64
2 changed files with 1 additions and 1 deletions

View File

@@ -76,6 +76,7 @@ def save(cat, hide_web_message=False):
currentjson[f"saves/{cat.name}.kitten"] = hash_file(f"saves/{cat.name}.kitten") currentjson[f"saves/{cat.name}.kitten"] = hash_file(f"saves/{cat.name}.kitten")
with open(hash_path, "w") as f: with open(hash_path, "w") as f:
json.dump(currentjson, f) json.dump(currentjson, f)
print("Saved.")
def load( def load(

View File

@@ -42,7 +42,6 @@ class Game:
): ):
case "Save": case "Save":
data.save.save(self.cat) data.save.save(self.cat)
print("Saved")
case "Save and quit": case "Save and quit":
print("Goodbye!") print("Goodbye!")
data.save.save(self.cat) data.save.save(self.cat)