summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-26 00:33:08 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-26 00:33:08 +0200
commitea8755f9fe54ea911cdd864c5cfc01d708bdafb4 (patch)
tree06a0cc78fac3d93fd8bf4fa90294cf2d8f5cbf77 /rules.js
parentf71d3ff7dd4e6b4536049fe034e934182cb36cf4 (diff)
download1989-dawn-of-freedom-ea8755f9fe54ea911cdd864c5cfc01d708bdafb4.tar.gz
add played power card panel
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 6ce54dd..64d4396 100644
--- a/rules.js
+++ b/rules.js
@@ -192,7 +192,8 @@ exports.view = function(state, player) {
}
if (game.is_pwr_struggle) {
- view.strategy_discard = game.power_struggle_discard
+ view.power_struggle_discard = game.power_struggle_discard
+ view.played_power_card = game.played_power_card,
} else {
view.strategy_discard = game.strategy_discard
}