diff options
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2302,10 +2302,10 @@ states.swap_card_tableau_hand = { if (selected_cards.length === selected_at_start + 2) { const hand = game.hands[faction]; const tableau = game.tableaus[faction]; - array_remove_item(hand, selected_cards[selected_at_start + 1]); - array_remove_item(tableau, selected_cards[selected_at_start + 2]); - hand.push(selected_cards[selected_at_start + 2]); - tableau.push(selected_cards[selected_at_start + 1]); + array_remove_item(hand, selected_cards[selected_at_start + 0]); + array_remove_item(tableau, selected_cards[selected_at_start + 1]); + hand.push(selected_cards[selected_at_start + 1]); + tableau.push(selected_cards[selected_at_start + 0]); game.selected_cards[faction].length = selected_at_start; resolve_active_and_proceed(); } |