summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-10-28 17:53:46 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-10-28 17:53:46 +0000
commit9565333f487e538a78f14ecfad6305e195682d10 (patch)
treee6d5125c224a1a6bb6f18bb39e7d5630ccb03d94 /play.js
parentf3f081112743272aca1aecc66344e10e787dc954 (diff)
download1989-dawn-of-freedom-9565333f487e538a78f14ecfad6305e195682d10.tar.gz
fix round marker
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 8b5d3d7..49ab1f3 100644
--- a/play.js
+++ b/play.js
@@ -485,7 +485,7 @@ function layout_turn_marker() {
}
function layout_round_marker() {
- let x = 709 + 24 + (view.turn - 1) * 53
+ let x = 709 + 24 + (view.round - 1) * 53
let y = 142 + 24
ui.round.style.left = x - 25 + "px"
ui.round.style.top = y - 25 + "px"