summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-02 11:23:51 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-02 11:23:51 +0000
commit9cfa9a0b8a254e06ecbd83da48771a0e41a33286 (patch)
treed247e46fa82b2f886fffd8fec4d89ba7489de9d0 /play.js
parente7f7b67b3b349ed88d00b1a21212b8adbb8bd750 (diff)
download1989-dawn-of-freedom-9cfa9a0b8a254e06ecbd83da48771a0e41a33286.tar.gz
Fix events after 110 added to played_card panel
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 2111f0c..2b087d1 100644
--- a/play.js
+++ b/play.js
@@ -892,7 +892,7 @@ function on_update() {
ui.played_card.replaceChildren()
if (view.played_card > 0)
ui.played_card.appendChild(ui.cards[view.played_card])
- if (view.vm_event > 0)
+ if (view.vm_event > 0 && view.vm_event < 111)
ui.played_card.appendChild(ui.cards[view.vm_event])
if (view.power_card_1 > 0)
ui.played_card.appendChild(ui.power_cards[view.power_card_1])