diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-06-24 14:44:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-07 18:39:37 +0200 |
commit | f2d64ee016428edf3216b4ffd055151071d6c49a (patch) | |
tree | 1187499e6a8fe25c0a7fc04840e496e17ccf6ad3 /play.js | |
parent | 8e89ea0ff9f2b257e37c492a471a9eccfa873403 (diff) | |
download | time-of-crisis-f2d64ee016428edf3216b4ffd055151071d6c49a.tar.gz |
Logs and stuff.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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") |