diff options
author | Griffin Smith <root@gws.fyi> | 2019-10-05T20·18-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-10-05T20·25-0400 |
commit | 5c6ba40019ea23660cfab80864593b398567f223 (patch) | |
tree | 003487a59c9925f87ffc74a762b66872a9dc54c4 /src/Xanthous/Game/Lenses.hs | |
parent | 272ff5b3e606cd95aedaa4889ff38906c0e0bf03 (diff) |
Display multiple messages per turn
When tracking message history, save messages associated with the turn they were displayed on, which allows us to have the notion of the "current turn's" messages (provided via a MonoComonad instance).
Diffstat (limited to 'src/Xanthous/Game/Lenses.hs')
-rw-r--r-- | src/Xanthous/Game/Lenses.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xanthous/Game/Lenses.hs b/src/Xanthous/Game/Lenses.hs index e077e339cd87..101de3021c48 100644 --- a/src/Xanthous/Game/Lenses.hs +++ b/src/Xanthous/Game/Lenses.hs @@ -36,7 +36,7 @@ getInitialState = do (Position 0 0) (SomeEntity char) mempty - _messageHistory = NoMessageHistory + _messageHistory = mempty _revealedPositions = mempty _promptState = NoPrompt _debugState = DebugState |