diff options
author | Griffin Smith <root@gws.fyi> | 2019-12-31T16·09-0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-12-31T16·09-0500 |
commit | ffc8e793d5ca8a73f8a6ec0f0a4f2efb2c98cf93 (patch) | |
tree | e30eba21619cf24ae222b6dbb3c7ab39fc4e927b /xanthous.cabal | |
parent | 7e6234e2e9e1307cc61884e53d0457c022543894 (diff) |
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.
Diffstat (limited to 'xanthous.cabal')
-rw-r--r-- | xanthous.cabal | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xanthous.cabal b/xanthous.cabal index 23044d7fce02..f173b1a114a9 100644 --- a/xanthous.cabal +++ b/xanthous.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 497414a98a626a63a6c5022688b33d0021c1580c7c262fbc1152599289df7935 +-- hash: a4f6c2c91e3c94c81de5d6b27201cb22e7f9f9c5d8a4f14beec63c1540d01ca1 name: xanthous version: 0.1.0.0 @@ -92,6 +92,7 @@ library , containers , data-default , deepseq + , directory , fgl , fgl-arbitrary , file-embed @@ -191,6 +192,7 @@ executable xanthous , containers , data-default , deepseq + , directory , fgl , fgl-arbitrary , file-embed @@ -265,6 +267,7 @@ test-suite test , containers , data-default , deepseq + , directory , fgl , fgl-arbitrary , file-embed |