diff options
author | Griffin Smith <root@gws.fyi> | 2019-12-01T03·48-0500 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-12-01T03·48-0500 |
commit | e619dcd126242c2dc290cc77b2fda0873ced947a (patch) | |
tree | eff93eb0074437ae4c47db92053b41a78a404a87 /src/Xanthous/App.hs | |
parent | 65b1352ef2e463393d0504c32b73bdcf7c99491a (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.hs | 2 |
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 |