diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-14 11:51:11 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-03-14 11:51:11 -0400 |
commit | 9c6017f378483e041e2468d4323e9349bb71458a (patch) | |
tree | e52d82c4b6c185503dfabf565959f678928bd961 /tools | |
parent | 77dcd69d67d1569d2cb8a0bd3a3b2e5d6a5cbde9 (diff) | |
download | vijayanagara-9c6017f378483e041e2468d4323e9349bb71458a.tar.gz |
Update opt events
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gencode.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gencode.js b/tools/gencode.js index e60a2cb..a68451a 100644 --- a/tools/gencode.js +++ b/tools/gencode.js @@ -119,6 +119,9 @@ for (let line of fs.readFileSync("events.txt", "utf-8").split("\n")) { case "place": emit([ "place", false, 0, line[1], line[2], line[3] ]) break + case "place_undo_opt": + emit([ "place", true, 1, line[1], line[2], line[3] ]) + break case "place_opt": emit([ "place", false, 1, line[1], line[2], line[3] ]) break |