summaryrefslogtreecommitdiff
path: root/tools/gendata.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-06 21:31:23 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit93c55d3f0219d41bb1c4e894b781d96c5d2e86e9 (patch)
tree9f1322fac2731071055cbecdddfed1bca4ad9c2d /tools/gendata.js
parent509116f2d6226473f206bc58d1b40f4cddfb4061 (diff)
downloadplantagenet-93c55d3f0219d41bb1c4e894b781d96c5d2e86e9.tar.gz
fixup! stronghold
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) {