From 62455b0bc56621a57ac9cab2818b033f6e415dcf Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 1 Nov 2024 11:58:48 +0000 Subject: Fix for New Year's Eve party --- play.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'play.js') 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 ============================================== -- cgit v1.2.3