diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-27 13:22:03 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | f4631652b2bd9b89bb7bc4389f16d51464766471 (patch) | |
tree | a29a61dba269a1491412aac17370c91dfe456e72 /play.js | |
parent | f67ba24cf94b7617752dd6047deeedda46b7841a (diff) | |
download | andean-abyss-f4631652b2bd9b89bb7bc4389f16d51464766471.tar.gz |
Stack shipments in cities in opposing directions.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1024,7 +1024,10 @@ function layout_city_shipments(s, list, xc, yc) { sh.style.left = (x) + "px" sh.style.top = (y) + "px" sh.style.zIndex = z-- - x += 8 + if (i & 1) + x -= 8 + else + x += 8 y += 8 } } |