diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-12-22 21:31:46 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | a346336ed81fdeca831b326043b82ab865b214cf (patch) | |
tree | 9c71669e6827cf15bb038469691a1102d83beb9a /play.js | |
parent | db19134bda62ae02105d105cb381f11371e05354 (diff) | |
download | nevsky-a346336ed81fdeca831b326043b82ab865b214cf.tar.gz |
Strike. Rename array positions.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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"), ], } |