summaryrefslogtreecommitdiff
path: root/Tyard
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
commitcfa65d94f1bc9d9e9efe13791711a9ad044a4a67 (patch)
treebdecc9982a58cb88367e4e8b1fcd9cfa1f95573e /Tyard
parentf3da24b214b3337ad63ebd885da29d5b789d4738 (diff)
downloadluaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.tar.gz
luaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.tar.bz2
luaatc_envs-cfa65d94f1bc9d9e9efe13791711a9ad044a4a67.zip
State at 2021-04-04
Diffstat (limited to 'Tyard')
-rw-r--r--Tyard/init_code.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tyard/init_code.lua b/Tyard/init_code.lua
index 99b63e4..91bf2b0 100644
--- a/Tyard/init_code.lua
+++ b/Tyard/init_code.lua
@@ -2,4 +2,4 @@
S.single_dir = true
-F.EOL = function(direction,lane) if S.yard_active then if S.dir == direction then if atc_arrow then if not S.exiting then --return to PICKUP via headshunt split_off_locomotive("B0WR") set_rc("PICKUP") set_route("TY"..direction.."_"..lane, "HEADSHUNT") else --if S.exiting then loco has already sorted to correct lane for departure --S.exiting set by the pickup track set_rc(S.rc) set_route("TY"..direction.."_"..lane, "EXIT") S.exiting = nil end end else -- preparing for bi-directional. also EOL Bounce atc_send("B0WD1RS4") end end end \ No newline at end of file
+F.EOL = function(direction,lane) if S.yard_active then if S.dir == direction then if atc_arrow then if not S.exiting then --return to PICKUP via headshunt split_off_locomotive("B0WR") set_rc("PICKUP") set_route("TY"..direction.."_"..lane, "HEADSHUNT") else --if S.exiting then loco has already sorted to correct lane for departure --S.exiting set by the pickup track set_rc(S.rc) set_route("TY"..direction.."_"..lane, "EXIT") S.exiting = nil end end else -- preparing for bi-directional. also EOL Bounce atc_send("B0WD1RS4") end end end \ No newline at end of file