From 285606d4c3fec57d501c66b46a48e730e71d0f6a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 1 Jul 2023 16:36:11 +0200 Subject: Expansion cards. TODO: Frumentarii, Spiculum, Demagogue. --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'play.js') 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" } -- cgit v1.2.3