summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-03 12:53:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-03 12:53:10 +0200
commit20f53cc1cb01b51bfecc3896c69e881dc72e6e05 (patch)
tree63041a392efc2acec2509d60b4eaa87f26d2fd40 /src/Main.hs
parent581b746992878819e813e867ad183a160709de53 (diff)
download2017-01-16_17:13:37-20f53cc1cb01b51bfecc3896c69e881dc72e6e05.tar
2017-01-16_17:13:37-20f53cc1cb01b51bfecc3896c69e881dc72e6e05.tar.gz
2017-01-16_17:13:37-20f53cc1cb01b51bfecc3896c69e881dc72e6e05.tar.bz2
2017-01-16_17:13:37-20f53cc1cb01b51bfecc3896c69e881dc72e6e05.tar.xz
2017-01-16_17:13:37-20f53cc1cb01b51bfecc3896c69e881dc72e6e05.zip
support for questions
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index e480f4b..96e3fef 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -100,7 +100,7 @@ setFocus = withArg $ \ident -> gFocus .= Just ident
100remove :: Sh GameState () 100remove :: Sh GameState ()
101remove = withFocus $ \ident -> do 101remove = withFocus $ \ident -> do
102 name <- toName ident 102 name <- toName ident
103 confirmation <- askBool ("Are you sure you want to remove ‘" ++ name ++ "’? ") False 103 confirmation <- askBool ("Are you sure you want to remove ‘" ++ name ++ "’?") False
104 when confirmation $ do 104 when confirmation $ do
105 gEntities %= Map.delete ident 105 gEntities %= Map.delete ident
106 gEntityNames %= Bimap.delete ident 106 gEntityNames %= Bimap.delete ident