diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-09-11 22:19:32 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-09-11 22:19:32 +0200 |
commit | f7a7ece59b5dbe53301a40ce1155289001ca11ba (patch) | |
tree | 13b90452a1def22fddbe1787add49c018287dbe5 | |
parent | de26084131860939aec475d3e7384341237c8998 (diff) | |
download | washingtons-war-f7a7ece59b5dbe53301a40ce1155289001ca11ba.tar.gz |
show french navy marker when it's past the end of the turn track
-rw-r--r-- | play.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -598,6 +598,8 @@ function on_update() { if (view.french_navy < 0) show_piece_at(ui.french_navy, data.spaces[FRENCH_REINFORCEMENTS].x-65, data.spaces[FRENCH_REINFORCEMENTS].y) + else if (view.french_navy === 1784) + show_piece_at(ui.french_navy, data.layout.turn[1783][0] + 20, data.layout.turn[1783][1] - 20) else if (view.french_navy > 1700) show_piece_at_xy(ui.french_navy, data.layout.turn[view.french_navy]) else |