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
This commit is contained in:
parent
65b1352ef2
commit
e619dcd126
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue