diff options
author | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-27 22:00:22 +0100 |
---|---|---|
committer | Frans Bongers <fransbongers@franss-mbp.home> | 2024-12-27 22:00:22 +0100 |
commit | 4e1517da77e796406befa8264242065687c672f5 (patch) | |
tree | 44292a96e084fffa481fb881b64c25f722da1d7b /play.js | |
parent | 8749fad48dfca5d4374e15539b160db28a4ed2dc (diff) | |
download | land-and-freedom-4e1517da77e796406befa8264242065687c672f5.tar.gz |
play additional card
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -330,6 +330,7 @@ function on_update() { ui.turn_info.style.display = 'none'; } else { + ui.turn_info.style.display = ''; ui.turn_info_card.setAttribute('data-card-id', view.played_card + ''); } for (let g = 0; g < view.glory.length; ++g) { @@ -346,8 +347,6 @@ function on_update() { action_button('d_foreign_aid', 'Decrease Foreign Aid'); action_button('d_government', 'Decrease Government'); action_button('d_soviet_support', 'Decrease Soviet Support'); - action_button('draw_card', 'Draw a card'); - action_button('draw_cards', 'Draw cards'); action_button('foreign_aid', 'Foreign Aid'); action_button('government', 'Government'); action_button('liberty', 'Liberty'); @@ -357,6 +356,8 @@ function on_update() { action_button('Communist', 'Communist'); action_button('Moderate', 'Moderate'); action_button('gain_hp', 'Gain Hero Points'); + action_button('draw_card', 'Draw a card'); + action_button('draw_cards', 'Draw cards'); action_button('play_for_ap', 'Play card for Action Points'); action_button('play_for_event', 'Play card for Event'); action_button('spend_hp', 'Spend Hero Points'); |