summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2025-01-02 09:43:16 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2025-01-02 09:43:16 +0000
commite7f7b67b3b349ed88d00b1a21212b8adbb8bd750 (patch)
treeab5b0c094e4bd041f32495fc57abc19d263b3fc6 /play.js
parent72d023997c4dfcbd9593474b508a00f449c2c2d4 (diff)
download1989-dawn-of-freedom-e7f7b67b3b349ed88d00b1a21212b8adbb8bd750.tar.gz
Add vm_event to played_card panel
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/play.js b/play.js
index 3bc336f..2111f0c 100644
--- a/play.js
+++ b/play.js
@@ -892,6 +892,8 @@ 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)
+ 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])
if (view.power_card_2 > 0)