summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js2
-rw-r--r--rules.js1
2 files changed, 3 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)
diff --git a/rules.js b/rules.js
index 8e80511..93c3f51 100644
--- a/rules.js
+++ b/rules.js
@@ -384,6 +384,7 @@ exports.view = function (state, player) {
actions: null,
played_card: game.played_card,
+ vm_event: game.vm_event,
valid_spaces: game.valid_spaces,
valid_cards: game.valid_cards,