From f5c1ab4f1e5b69dcb851b37954933df1bd403a32 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Sun, 22 Oct 2023 21:34:34 +0200 Subject: unused --- play.js | 4 ++-- 1 file 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 -- cgit v1.2.3