From f2d64ee016428edf3216b4ffd055151071d6c49a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 24 Jun 2023 14:44:23 +0200 Subject: Logs and stuff. --- play.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index d7e3b8e..7f6b579 100644 --- a/play.js +++ b/play.js @@ -1018,7 +1018,7 @@ function on_update() { for (let region = 0; region < 12; ++region) { for (let p = 0; p < 4; ++p) { let gov = get_province_governor(region) - if (gov > 0 && (gov/6|0) === p) { + if (gov >= 0 && (gov/6|0) === p) { if (is_seat_of_power(region)) show(ui.seat_of_power[region + p * 12]) else @@ -1314,6 +1314,8 @@ function on_update() { for (let e of action_register) e.classList.toggle("action", is_action(e.my_action, e.my_id)) + action_button("play_all", "Play All") + action_button("enter", "Enter Capital") action_button("leave", "Leave Capital") @@ -1338,12 +1340,11 @@ function on_update() { action_button("recruit_general", "Recruit General") action_button("recruit_governor", "Recruit Governor") - action_button("play_all", "Play All") + action_button("keep", "Keep") action_button("end_actions", "End Actions") + action_button("end_turn", "End Turn") - action_button("continue", "Continue") - action_button("save", "Save") action_button("pass", "Pass") action_button("done", "Done") action_button("undo", "Undo") -- cgit v1.2.3