diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-08-13 16:35:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-01 16:11:22 +0200 |
commit | 74d2e6efd24db8570cd64f74c7de109c5b094c70 (patch) | |
tree | f455ce39830c51ff51dea38c2e1d6b684259fdf3 /play.js | |
parent | d31416c59ce6cf5d62db6fbdc6586472fbb00c4b (diff) | |
download | waterloo-campaign-1815-74d2e6efd24db8570cd64f74c7de109c5b094c70.tar.gz |
Place HQ.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -221,8 +221,8 @@ function on_update() { } else if (hex === 100 || hex === 101) { // AVAILABLE DETACHMENTS ui.pieces[id].classList.remove("hide") - ui.pieces[id].classList.remove("flip") - let x = 600 + 20 + ui.stack[hex] * 50 + ui.pieces[id].classList.toggle("flip", (view.pieces[id] & 1) === 1) + let x = 600 + 20 + ui.stack[hex] * 60 let y = 1650 + 20 + 60 * (hex-100) ui.stack[hex] += 1 ui.pieces[id].style.top = y + "px" @@ -263,11 +263,8 @@ function on_update() { } } - action_button("edit_town", "Town") - action_button("edit_stream", "Stream") - action_button("edit_road", "Road") - action_button("next", "Next") + action_button("done", "Done") action_button("pass", "Pass") action_button("undo", "Undo") } |