Prompt before overwriting files when saving

When saving the game to a file that already exists, prompt for whether
or not to overwrite the file.

Since this was the first instance of a prompt triggered by another
prompt, this also had to do a minor fix to swap the order of completing
the prompt and clearing it, so that we don't submit the prompt and then
immediately clear it.
This commit is contained in:
Griffin Smith 2019-12-31 11:09:18 -05:00
parent 7e6234e2e9
commit ffc8e793d5
4 changed files with 25 additions and 14 deletions

View file

@ -30,6 +30,7 @@ dependencies:
- containers
- data-default
- deepseq
- directory
- fgl
- fgl-arbitrary
- file-embed