From a3b0f2f2f06b35eebe52016977c3dbd2870673ad Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 23 Mar 2025 00:11:24 +0100 Subject: fix bug in "skip" of swap_card_tableau_hand. --- rules.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index eb0b138..078024f 100644 --- a/rules.js +++ b/rules.js @@ -1925,7 +1925,9 @@ states.swap_card_tableau_hand = { }, skip() { const faction = get_active_faction(); - game.selected_cards[faction].length = 1; + const { s: selected_at_start } = get_active_node_args(); + game.selected_cards[faction].length = selected_at_start; + ; resolve_active_and_proceed(); }, }; -- cgit v1.2.3