From 4e1517da77e796406befa8264242065687c672f5 Mon Sep 17 00:00:00 2001 From: Frans Bongers Date: Fri, 27 Dec 2024 22:00:22 +0100 Subject: play additional card --- play.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index ffef09f..00a436a 100644 --- a/play.js +++ b/play.js @@ -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'); -- cgit v1.2.3