From 19b39bef3f387224f72afe0dae614602449323bb Mon Sep 17 00:00:00 2001 From: NB Kelly Date: Thu, 7 Nov 2024 10:39:00 +1300 Subject: [PATCH] clear revealed cards at start of turn --- src/clj/game/core/turns.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clj/game/core/turns.clj b/src/clj/game/core/turns.clj index 2877d8f56c..39dc6d6244 100644 --- a/src/clj/game/core/turns.clj +++ b/src/clj/game/core/turns.clj @@ -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]))