diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-02 09:43:16 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-02 09:43:16 +0000 |
commit | e7f7b67b3b349ed88d00b1a21212b8adbb8bd750 (patch) | |
tree | ab5b0c094e4bd041f32495fc57abc19d263b3fc6 | |
parent | 72d023997c4dfcbd9593474b508a00f449c2c2d4 (diff) | |
download | 1989-dawn-of-freedom-e7f7b67b3b349ed88d00b1a21212b8adbb8bd750.tar.gz |
Add vm_event to played_card panel
-rw-r--r-- | play.js | 2 | ||||
-rw-r--r-- | rules.js | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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) @@ -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, |