From 2715d1992faf77ff3b6ce8e69b14a10d4295daab Mon Sep 17 00:00:00 2001 From: Sam Sloniker Date: Tue, 8 Mar 2022 13:23:59 -0800 Subject: [PATCH] Add recovery instructions for saved-game deletion --- wormpy/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wormpy/__main__.py b/wormpy/__main__.py index f69e2ff..4ecc768 100755 --- a/wormpy/__main__.py +++ b/wormpy/__main__.py @@ -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: