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-11-02 08:16:41 +0000
commit1e59d478cfddc04353d2b5da20d2562342d83c65 (patch)
tree14400b8a03b8ceb30f27599314a559615a64877b /play.js
parent0e852be2acf9062eb77e3c60349e8837a3682076 (diff)
download1989-dawn-of-freedom-1e59d478cfddc04353d2b5da20d2562342d83c65.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 ddfcf58..536beb6 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"