From 413fdebf2e51d83fff0d6179508da7080d1c981e Mon Sep 17 00:00:00 2001 From: iainp5 Date: Tue, 29 Oct 2024 17:59:05 +0000 Subject: Tor updates --- play.js | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'play.js') 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])*/ -- cgit v1.2.3