Skip to content

Commit

Permalink
clear revealed cards at start of turn
Browse files Browse the repository at this point in the history
  • Loading branch information
NBKelly committed Nov 6, 2024
1 parent 678124f commit 19b39be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clj/game/core/turns.clj
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
;; Fix for Hayley triggers
(swap! state assoc :turn-events nil)
(swap! state assoc-in [side :turn-started] true)
;; clear out last-revealed so cards don't stick around all game
(swap! state assoc :last-revealed [])

;; Functions to set up state for undo-turn functionality
(doseq [s [:runner :corp]] (swap! state dissoc-in [s :undo-turn]))
Expand Down

0 comments on commit 19b39be

Please sign in to comment.