summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-09-11 22:19:32 +0200
committerTor Andersson <tor@ccxvii.net>2024-09-11 22:19:32 +0200
commitf7a7ece59b5dbe53301a40ce1155289001ca11ba (patch)
tree13b90452a1def22fddbe1787add49c018287dbe5
parentde26084131860939aec475d3e7384341237c8998 (diff)
downloadwashingtons-war-f7a7ece59b5dbe53301a40ce1155289001ca11ba.tar.gz
show french navy marker when it's past the end of the turn track
-rw-r--r--play.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/play.js b/play.js
index 15a8d09..a0f11a7 100644
--- a/play.js
+++ b/play.js
@@ -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