summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-01 11:58:48 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-02 08:22:05 +0000
commit00ed233ebc5fc58e5763f3be3f2fa0db931da87d (patch)
tree25bd7cb1831f123f99a5a1056efbb38741273bf3 /play.js
parent5d4a154685f03885fb1017f8208b8ea3fb66ddb9 (diff)
download1989-dawn-of-freedom-00ed233ebc5fc58e5763f3be3f2fa0db931da87d.tar.gz
Fix for New Year's Eve party
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 44f7b15..c5b3aaa 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 ==============================================