summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-01 16:36:11 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-07 19:05:52 +0200
commit285606d4c3fec57d501c66b46a48e730e71d0f6a (patch)
tree427a5607d478a9a92864548e079f69a3f312a58d /play.js
parent0dc3440161c7062ae09a93f001d5dd1629b35942 (diff)
downloadtime-of-crisis-285606d4c3fec57d501c66b46a48e730e71d0f6a.tar.gz
Expansion cards.
TODO: Frumentarii, Spiculum, Demagogue.
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 0e6618c..88db339 100644
--- a/play.js
+++ b/play.js
@@ -826,7 +826,7 @@ function create_support_buttons(region) {
for (let i = 0; i <= 4; ++i) {
let x = Math.floor(-1 + x0 + i * 51.6666)
let y = (-1 + y0)
- let e = create_thing({ className: "support s" + i, my_action: i > 0 ? "support" : "recall", my_id: i > 0 ? (region << 3) + i : region })
+ let e = create_thing({ className: "support s" + i, my_action: "support", my_id: (region << 3) + i })
e.style.top = y + "px"
e.style.left = x + "px"
}