summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.js b/play.js
index 23d7c45..d118b74 100644
--- a/play.js
+++ b/play.js
@@ -666,9 +666,9 @@ function on_update() {
if (view.power_hand)
for (let c of view.power_hand)
ui.power_hand.appendChild(ui.power_cards[c])
-
+
ui.opp_hand.replaceChildren()
- if (view.opp_hand)
+ if (view.show_opp_hand && view.opp_hand)
for (let c of view.opp_hand)
ui.opp_hand.appendChild(ui.cards[c])