summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index ba78d95..8de889d 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -658,14 +658,14 @@ data += "const regions = " + JSON.stringify(regions) + "\n"
gen_array("unit_name", u => JSON.stringify(u.name))
gen_array("unit_appearance", u => JSON.stringify(u.appearance))
-gen_array("unit_start_steps", u => u.steps)
+gen_array("unit_max_steps", u => u.steps)
gen_array("unit_elite", u => u.elite)
gen_array("unit_class", u => u.class)
gen_array("unit_speed", u => u.speed)
data += "if (typeof module !== 'undefined')\n\tmodule.exports = {\n"
data += "\t\tall_hexes, hex_exists, hex_name, hex_road, side_road, side_limit, regions,\n"
-data += "\t\tunit_name, unit_appearance, unit_start_steps, unit_elite, unit_class, unit_speed,\n"
+data += "\t\tunit_name, unit_appearance, unit_max_steps, unit_elite, unit_class, unit_speed,\n"
data += "\t}\n"
fs.writeFileSync("data.js", data)