summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-04 20:02:38 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-04 20:02:38 +0200
commit507d3f617cdbd76b18b9fc2e304103f11ed75fb8 (patch)
tree99c16140cf41126f8014c28c37c5783d3ec8f9fa /tools
parent080a01233ec9d7761529574c20b982f1a340882a (diff)
downloadalgeria-507d3f617cdbd76b18b9fc2e304103f11ed75fb8.tar.gz
fix adjecents
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 317c565..5413081 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -16,6 +16,7 @@ let next_location_id = 0
function def_area(id, name, type, zone, x, y, w, h) {
let loc = next_location_id++
+ locations[id] = loc
areas.push({loc, id, name, type, zone, x, y, w, h})
if (zone) {
if (!(zone in zone_areas)) {