summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
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])*/