summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-22 21:34:34 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-22 21:34:34 +0200
commitf5c1ab4f1e5b69dcb851b37954933df1bd403a32 (patch)
tree7b2d804d93f19567edb2ec776fc8f92839516e41 /play.js
parente445149cf0c58ce125b39d31af95a1052745a9b3 (diff)
downloadalgeria-f5c1ab4f1e5b69dcb851b37954933df1bd403a32.tar.gz
unused
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.js b/play.js
index 2b9505b..4d69287 100644
--- a/play.js
+++ b/play.js
@@ -17,7 +17,7 @@ const ELIMINATED = 2
// const BOXES = [UG, OPS, PTL, OC]
const BOX_NAMES = ["UG", "OPS", "PTL", "OC"]
-const area_count = 31
+// const area_count = 31
const unit_count = 120
function is_gov_unit(u) { return (u >= 0 && u <= 39) }
@@ -419,7 +419,7 @@ function create_border_zone(i) {
const COUNTRY = 4
-function create_area(i, area_id, area_name, type) {
+function create_area(i, _area_id, area_name, _type) {
let area_name_css = area_name.replaceAll(' ', '-')
let e = ui.areas[i] = document.querySelector(`#svgmap #areas #${area_name_css}`)
e.dataset.loc = data.areas[i].loc