summaryrefslogtreecommitdiff
path: root/Tyard/nodes/(-4012,12,-2646).lua
diff options
context:
space:
mode:
Diffstat (limited to 'Tyard/nodes/(-4012,12,-2646).lua')
-rw-r--r--Tyard/nodes/(-4012,12,-2646).lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tyard/nodes/(-4012,12,-2646).lua b/Tyard/nodes/(-4012,12,-2646).lua
index 751506b..b312753 100644
--- a/Tyard/nodes/(-4012,12,-2646).lua
+++ b/Tyard/nodes/(-4012,12,-2646).lua
@@ -1,7 +1,7 @@
-- Headshunt Controller
-- Note: may need customising due to track layout
local this_dir = true -- true = F.dir arrow points north. atc_arrow points towards yard
-local error_indicator = POS(-4025,13,-2671)
+
__approach_callback_mode = 1
if event.approach and not event.has_entered then
atc_set_ars_disable(true)
@@ -11,6 +11,7 @@ end
if event.train then
if not atc_arrow then --train has entered headshunt from yard. bounce or depart
+ F.remove_rc({"TY_HEADSHUNT"})
if not F.has_rc("TY_DEPART") then --if has TY_DEPART then another controller closer to the signal will remove to ensure signal engages the RC
schedule_in(";01",atc_id)
atc_set_ars_disable(true)