summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-22 21:31:46 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commita346336ed81fdeca831b326043b82ab865b214cf (patch)
tree9c71669e6827cf15bb038469691a1102d83beb9a /play.js
parentdb19134bda62ae02105d105cb381f11371e05354 (diff)
downloadnevsky-a346336ed81fdeca831b326043b82ab865b214cf.tar.gz
Strike. Rename array positions.
Diffstat (limited to 'play.js')
-rw-r--r--play.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/play.js b/play.js
index c396cf8..9bfb6bd 100644
--- a/play.js
+++ b/play.js
@@ -474,18 +474,18 @@ const ui = {
battle_garrison: document.getElementById("array_garrison"),
battle: document.getElementById("battle"),
battle_array: [
- document.getElementById("array_attacker_x"),
- document.getElementById("array_attacker_c"),
- document.getElementById("array_attacker_y"),
- document.getElementById("array_defender_x"),
- document.getElementById("array_defender_c"),
- document.getElementById("array_defender_y"),
- document.getElementById("array_reserve_x"),
- document.getElementById("array_reserve_c"),
- document.getElementById("array_reserve_y"),
- document.getElementById("array_sally_x"),
- document.getElementById("array_sally_c"),
- document.getElementById("array_sally_y"),
+ document.getElementById("array_a1"),
+ document.getElementById("array_a2"),
+ document.getElementById("array_a3"),
+ document.getElementById("array_d1"),
+ document.getElementById("array_d2"),
+ document.getElementById("array_d3"),
+ document.getElementById("array_rd1"),
+ document.getElementById("array_rd2"),
+ document.getElementById("array_rd3"),
+ document.getElementById("array_sa1"),
+ document.getElementById("array_sa2"),
+ document.getElementById("array_sa3"),
],
}