summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-29 17:59:05 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-29 17:59:05 +0000
commit413fdebf2e51d83fff0d6179508da7080d1c981e (patch)
tree3dec9ade36d01d368f45318a5400c80bed897f39 /play.js
parent3598e7f1f7b2a3ec6ebb1458baae576e4e65aa95 (diff)
download1989-dawn-of-freedom-413fdebf2e51d83fff0d6179508da7080d1c981e.tar.gz
Tor updates
Diffstat (limited to 'play.js')
-rw-r--r--play.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/play.js b/play.js
index 49ab1f3..2528f4e 100644
--- a/play.js
+++ b/play.js
@@ -640,22 +640,7 @@ function on_update() {
// UPDATE CARD DISPLAYS
ui.played_card.replaceChildren()
- ui.power_card_1.replaceChildren()
- ui.power_card_2.replaceChildren()
- if (!view.is_pwr_struggle) {
- if (view.played_card > 0)
- ui.played_card.appendChild(ui.cards[view.played_card])
- document.getElementById("scoring_card_panel").style.display = "none"
- } else {
- document.getElementById("scoring_card_panel").style.display = "flex"
- if (view.played_card > 0)
- ui.scoring_card.appendChild(ui.cards[view.played_card])
- if (view.power_card_1)
- ui.power_card_1.appendChild(ui.power_cards[view.power_card_1])
- if (view.power_card_2)
- ui.power_card_2.appendChild(ui.power_cards[view.power_card_2])
- }
/* ui.played_power_card.replaceChildren()
if (view.played_power_card > 0)
ui.played_power_card.appendChild(ui.power_cards[view.played_power_card])*/