summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 3576a7a..b056aff 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -312,6 +312,7 @@ delay = withFocus $ fmap (\_ -> ()) . runMaybeT . delay'
312 guard $ focusSeq >= tipSeq 312 guard $ focusSeq >= tipSeq
313 tipName <- toName tipId 313 tipName <- toName tipId
314 lift $ spendSeq (focusSeq - tipSeq) ("Wait for " ++ tipName) 314 lift $ spendSeq (focusSeq - tipSeq) ("Wait for " ++ tipName)
315 gFocus ?= tipId
315 316
316addNote :: String -> Sh GameState () 317addNote :: String -> Sh GameState ()
317addNote note = withFocus $ \focusId -> gEntities . ix focusId . eNotes %= (note :) 318addNote note = withFocus $ \focusId -> gEntities . ix focusId . eNotes %= (note :)