summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-28 10:43:09 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-11-28 10:43:09 +0100
commitdc084462cdb4bcecf818fb0aa47769866888e99c (patch)
tree2c25a5ff14fbb03242bb3bdc4e975544b78a27bf
parent291911b00034b7af857c158d0769af48bbaf0e6c (diff)
downloadvotes-for-women-dc084462cdb4bcecf818fb0aa47769866888e99c.tar.gz
show superseded amount in log
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 0bce869..d1f713c 100644
--- a/rules.js
+++ b/rules.js
@@ -855,8 +855,9 @@ states.strategy_phase = {
end_strategy_phase()
},
supersede() {
- log(`Opposition superseded.`)
- game.opposition_buttons -= (game.support_committed + 1)
+ const amount = game.support_committed + 1
+ log(`Opposition superseded with ${amount} BM.`)
+ game.opposition_buttons -= amount
game.state = 'select_strategy_card'
}
}