summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/play.js b/play.js
index fd2852c..c4e139f 100644
--- a/play.js
+++ b/play.js
@@ -679,7 +679,8 @@ function on_update() {
ui.persistent.replaceChildren()
for (let c of view.persistent_events)
- ui.persistent.appendChild(ui.cards[c])
+ if (c < 111)
+ ui.persistent.appendChild(ui.cards[c])
ui.played_card.replaceChildren()
if (view.played_card > 0)
@@ -735,8 +736,6 @@ function on_update() {
action_button("done", "Done")
action_button("end_round", "End Round")
action_button("undo", "Undo")
-
-console.log('view.valid_cards', view.valid_cards, 'view.power_hand', view.power_hand)
}
// =========================== LOG FUNCTIONS ==============================================