Add recovery instructions for saved-game deletion

This commit is contained in:
Samuel Sloniker 2022-03-08 13:23:59 -08:00
parent 74035ad320
commit 2715d1992f

View File

@ -226,6 +226,8 @@ if args.delete_save:
try:
shutil.move(gamesave_path, gamesave_path + "-old")
print("Saved game deleted.")
print(f"A backup was created at `{gamesave_path}-old`. To restore it, run:")
print(f"mv {gamesave_path}-old {gamesave_path}")
except FileNotFoundError:
print("No saved game found.")
except Exception as e: