diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-07-18 17:55:08 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 13:11:25 +0100 |
commit | 459586dfb04f3b79a4180e84e3603f5bffaf2abc (patch) | |
tree | 0a3c81e46128ba2740e8d7228ba72507cea4a1fb /play.js | |
parent | f21b40df81c695a0adf05e1d8107956d8fd918ab (diff) | |
download | rommel-in-the-desert-459586dfb04f3b79a4180e84e3603f5bffaf2abc.tar.gz |
foo
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -531,6 +531,7 @@ function update_battle() { ui.battle.classList.remove("hide") ui.battle_header.textContent = hex_name[view.battle] ui.battle_message.textContent = view.flash + // TODO: don't show disrupted units? if (player === ALLIED) { update_battle_line(view.battle, ui.battle_line_1, u => is_axis_unit(u) && is_artillery_unit(u)) update_battle_line(view.battle, ui.battle_line_2, u => is_axis_unit(u) && !is_artillery_unit(u)) @@ -597,10 +598,6 @@ function on_update() { action_button("overrun", "Overrun") action_button("rommel", "Rommel") action_button("stop", "Stop") - action_button("end_move", "End move") - - action_button("end_retreat", "End retreat") - action_button("end_combat", "End combat") action_button("group", "Group") action_button("regroup", "Regroup") @@ -612,6 +609,11 @@ function on_update() { action_button("pass", "Pass") action_button("next", "Next") + action_button("end_move", "End move") + action_button("end_retreat", "End retreat") + action_button("end_combat", "End combat") + action_button("end_turn", "End turn") + action_button("undo", "Undo") } |