summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-02-23 11:28:14 +0100
committerTor Andersson <tor@ccxvii.net>2025-02-23 11:28:14 +0100
commit01bfc86574719b3dc451e39222da14a23a073b3f (patch)
treebf0759b3e658ff8a04d1b8745bad0ba8337bf207
parent8f842a4e5204dd49b420d690c338215fc354891e (diff)
downloadtime-of-crisis-01bfc86574719b3dc451e39222da14a23a073b3f.tar.gz
Move mob counter to make it more visible.
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index ed3ab14..3a3c51a 100644
--- a/play.js
+++ b/play.js
@@ -1120,7 +1120,7 @@ function layout_mob(region, i, e, visible, x2) {
let [ x, y, w, h ] = LAYOUT_SUPPORT[region]
e.className = x2 ? "mob_x2" : "mob"
e.style.top = (y - 36) + "px"
- e.style.left = (x + 26 + 26 * i) + "px"
+ e.style.left = (x - 26 + 26 * i) + "px"
} else {
e.className = "hide"
}