Skip to content

Commit

Permalink
Fix Alma's Parley
Browse files Browse the repository at this point in the history
  • Loading branch information
halogenandtoast committed Jan 26, 2025
1 parent 9526503 commit 6fb4ca4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/arkham-api/library/Arkham/Investigator/Runner.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2712,7 +2712,9 @@ runInvestigatorMessage msg a@InvestigatorAttrs {..} = runQueueT $ case msg of
let (cards, deck) = draw n investigatorDeck
pure $ a & deckL .~ Deck.withDeck (<> cards) deck
DoDrawCards iid | iid == toId a -> do
for_ (a ^. drawingL) \d -> push $ Do (DrawCards iid d)
for_ (a ^. drawingL) \d -> do
push $ Do (DrawCards iid d)
for_ (cardDrawAndThen d) push
pure $ a & drawingL .~ Nothing
ReplaceCurrentCardDraw iid drawing | iid == investigatorId -> do
pure $ a & drawingL ?~ drawing
Expand Down

0 comments on commit 6fb4ca4

Please sign in to comment.