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.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'play.ts') diff --git a/play.ts b/play.ts index 898982e..61e6206 100644 --- a/play.ts +++ b/play.ts @@ -432,6 +432,7 @@ function on_update() { if (view.played_card === null) { ui.turn_info.style.display = 'none'; } else { + ui.turn_info.style.display = ''; ui.turn_info_card.setAttribute('data-card-id', view.played_card + ''); } @@ -454,8 +455,7 @@ function on_update() { 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'); @@ -466,6 +466,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('draw_card', 'Draw card'); action_button('play_for_ap', 'Play card for Action Points'); action_button('play_for_event', 'Play card for Event'); -- cgit v1.2.3