summaryrefslogtreecommitdiff
path: root/durt/nodes/(-2147,20,777).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-2147,20,777).lua')
-rw-r--r--durt/nodes/(-2147,20,777).lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/durt/nodes/(-2147,20,777).lua b/durt/nodes/(-2147,20,777).lua
new file mode 100644
index 0000000..467f0f9
--- /dev/null
+++ b/durt/nodes/(-2147,20,777).lua
@@ -0,0 +1,7 @@
+if event.type == "train" then
+ rc = get_rc()
+ if rc:find("apprentice_leave") ~= nil then
+ rc = rc:gsub("apprentice_leave", "apprentice_unload")
+ end
+ set_rc(rc)
+end \ No newline at end of file