summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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