about summary refs log tree commit diff
path: root/src/Xanthous/App.hs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2019-12-01T03·48-0500
committerGriffin Smith <root@gws.fyi>2019-12-01T03·48-0500
commite619dcd126242c2dc290cc77b2fda0873ced947a (patch)
treeeff93eb0074437ae4c47db92053b41a78a404a87 /src/Xanthous/App.hs
parent65b1352ef2e463393d0504c32b73bdcf7c99491a (diff)
Eating doesn't take time unless you actually eat
Make it so that opening the eat menu but not actually eating anything
(either because you cancel, or because there's nothing to eat) doesn't
step the game
Diffstat (limited to 'src/Xanthous/App.hs')
-rw-r--r--src/Xanthous/App.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xanthous/App.hs b/src/Xanthous/App.hs
index 9d606bbef344..f663186a308d 100644
--- a/src/Xanthous/App.hs
+++ b/src/Xanthous/App.hs
@@ -205,7 +205,7 @@ handleCommand Eat = do
             character . characterHitpoints' +=
               edibleItem ^. hitpointsHealed . to fromIntegral
             message msg $ object ["item" A..= item]
-  stepGame -- TODO
+            stepGame -- TODO
   continue
 
 handleCommand Read = do