From 7d8c89a5c0773767f3fa7d82061b3615b69559e2 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 11 Nov 2024 18:32:17 +0000 Subject: fix typo --- play.js | 1 + rules.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/play.js b/play.js index 8ea17a2..079f366 100644 --- a/play.js +++ b/play.js @@ -765,6 +765,7 @@ function on_update() { action_button("done", "Done") action_button("end_round", "End Round") action_button("undo", "Undo") + console.log('view.power_struggle_discard', view.power_struggle_discard) } // =========================== LOG FUNCTIONS ============================================== diff --git a/rules.js b/rules.js index dc6e0e5..0140e07 100644 --- a/rules.js +++ b/rules.js @@ -3689,7 +3689,7 @@ function discard_card(hand) { } else { log_gap(`Discarded: P${discarded_card} V${power_cards[discarded_card].value}`) } - game.power_struggle_discard.push(discard_card) + game.power_struggle_discard.push(discarded_card) } else { log(`Discarded C${discarded_card}`) game.strategy_discard.push(discarded_card) -- cgit v1.2.3