Skip to content

Commit

Permalink
tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
NBKelly committed Jul 22, 2024
1 parent ff9c3b8 commit 6f9b175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/game/core/moving.clj
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
:target-zone dest
:shuffled shuffled}]))
dest (or dest-replacement dest)
moved-card (get-moved-card state side card to)]
moved-card (get-moved-card state side card (or (last dest-replacement) to))]
(update-effects state card moved-card)
(remove-old-card state side card)
(let [pos-to-move-to (cond index index
Expand Down

0 comments on commit 6f9b175

Please sign in to comment.