summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 10185a2..6595975 100644
--- a/play.js
+++ b/play.js
@@ -1312,7 +1312,7 @@ function update_cards() {
ui.events_panel.classList.add("hide")
}
- if (view.hand.length > 0) {
+ if (view.hand && view.hand.length > 0) {
ui.hand_panel.classList.remove("hide")
ui.hand.replaceChildren()
if (view.hand) {