summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.ts b/rules.ts
index 08a6a4f..2e386a1 100644
--- a/rules.ts
+++ b/rules.ts
@@ -944,7 +944,7 @@ states.add_card_to_tableau = {
const faction_id = get_active_faction();
array_remove(game.hands[faction_id], game.hands[faction_id].indexOf(c));
game.tableaus[faction_id].push(c);
- logp(`added C${c} to their tableau`);
+ log(">C" + c + " to tableau");
resolve_active_and_proceed();
},
skip() {
@@ -2395,6 +2395,8 @@ states.swap_card_tableau_hand = {
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]);
+ log(">C" + selected_cards[selected_at_start + 0] + " to tableau");
+ log(">C" + selected_cards[selected_at_start + 1] + " to hand");
game.selected_cards[faction].length = selected_at_start;
resolve_active_and_proceed();
}