summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js1
-rw-r--r--rules.js2
2 files changed, 2 insertions, 1 deletions
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)