summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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)) {