summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1439,11,-2551).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-11-02 00:00:01 +0100
committerautocommitter <autocommitter@linux-forks.de>2024-11-02 00:00:01 +0100
commit91cc36ecd4e2c68040642dbaf0b0dc46106df61c (patch)
tree9c663a4233ddc831f6c3d0ed10a4d8166d4b93db /durt/nodes/(-1439,11,-2551).lua
parent2d065ce9bedc6c7c0740a9148e96463749f8bf24 (diff)
downloadluaatc_envs-91cc36ecd4e2c68040642dbaf0b0dc46106df61c.tar.gz
luaatc_envs-91cc36ecd4e2c68040642dbaf0b0dc46106df61c.tar.bz2
luaatc_envs-91cc36ecd4e2c68040642dbaf0b0dc46106df61c.zip
State at 2024-11-02
Diffstat (limited to 'durt/nodes/(-1439,11,-2551).lua')
-rw-r--r--durt/nodes/(-1439,11,-2551).lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/durt/nodes/(-1439,11,-2551).lua b/durt/nodes/(-1439,11,-2551).lua
index fd68288..14b91b4 100644
--- a/durt/nodes/(-1439,11,-2551).lua
+++ b/durt/nodes/(-1439,11,-2551).lua
@@ -2,7 +2,8 @@
if not F.has_rc("S27_SHUNTER") or not F.has_rc("S27_EXPORT_ACTIVE") then return end
if atc_arrow then
F.remove_rc_match("S27_EXP_DIR_%S+")
- local fc = split_at_fc("A0B0",1) or "DEPART" --should be either DIRT_LOAD or DEPART. anything else goes to departures by default
+ step_fc()
+ local fc = split_at_fc("A0B0",2) or "DEPART" --should be either DIRT_LOAD or DEPART. anything else goes to departures by default
F.add_rc({
"S27_EXP_HS_N",
"S27_EXP_DIR_"..fc
@@ -11,4 +12,6 @@ if atc_arrow then
F.add_rc("S27_EXP_HS_N_AC")
end
atc_send("A1S3")
-end \ No newline at end of file
+ return
+end
+atc_send("S1") \ No newline at end of file