summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gencode.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gencode.js b/tools/gencode.js
index 4ac01d1..efe1556 100644
--- a/tools/gencode.js
+++ b/tools/gencode.js
@@ -94,6 +94,9 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) {
case "place_undo":
emit([ "place", 1, 0, line[1], line[2] ])
break
+ case "auto_place":
+ emit([ "auto_place", 0, 0, line[1], line[2] ])
+ break
case "log":
case "prompt":