From e619dcd126242c2dc290cc77b2fda0873ced947a Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 30 Nov 2019 22:48:29 -0500 Subject: 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 --- src/Xanthous/App.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Xanthous/App.hs') 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 -- cgit 1.4.1