summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/play.js b/play.js
index 4bdf51b..cf16c20 100644
--- a/play.js
+++ b/play.js
@@ -725,12 +725,14 @@ function on_update() {
if (view.is_pwr_struggle) {
roles.Democrat.stat.textContent = `${pluralize(view.democrat_power_hand, 'Power card')}`
roles.Communist.stat.textContent = `${pluralize(view.communist_power_hand, 'Power card')}`
+ ui.turn_info.innerText = `Power Struggle deck: ${pluralize(view.power_struggle_deck, 'card')}`
} else {
roles.Democrat.stat.textContent = `${pluralize(view.democrat_hand,'card')}`
roles.Communist.stat.innerText = `${pluralize(view.communist_hand, 'card')}`
+ ui.turn_info.innerText = `Strategy deck: ${pluralize(view.strategy_deck, 'card')}`
}
- ui.turn_info.innerText = `Strategy deck: ${pluralize(view.strategy_deck, 'card')}`
+
// UPDATE TRACK MARKERS
layout_turn_marker()