From 6c52bbb9e39c111dee0c1d5f845876496c54c42f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 26 Oct 2024 20:25:29 +0200 Subject: fix turn display and end_supply --- play.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'play.js') diff --git a/play.js b/play.js index 0083dfd..c76d8c6 100644 --- a/play.js +++ b/play.js @@ -987,8 +987,8 @@ function layout_combat_marker() { function layout_turn_marker() { if (view.turn > 0) { let t = view.turn - 1 - let row = (t / 3) | 0 - let col = (t % 3) + let row = (t / 4) | 0 + let col = (t % 4) let x = 2267 + col * 45 let y = 79 + row * 52 ui.turn.style.left = x - 16 + "px" -- cgit v1.2.3