summaryrefslogtreecommitdiff
path: root/tools/gendata.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gendata.js')
-rw-r--r--tools/gendata.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 3c4bcb0..424a111 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -323,7 +323,7 @@ function defloc(region, type, name) {
w = Math.ceil(w)
h = Math.ceil(h)
locmap[name] = locales.length
- locales.push({ name, type, ways: [], box: { x, y, w, h } })
+ locales.push({ name, type, region, ways: [], box: { x, y, w, h } })
}
function defdepleted(name) {