summaryrefslogtreecommitdiff
path: root/Tyard/nodes/(-3967,12,-2646).lua
diff options
context:
space:
mode:
Diffstat (limited to 'Tyard/nodes/(-3967,12,-2646).lua')
-rw-r--r--Tyard/nodes/(-3967,12,-2646).lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tyard/nodes/(-3967,12,-2646).lua b/Tyard/nodes/(-3967,12,-2646).lua
index 828ca13..06da983 100644
--- a/Tyard/nodes/(-3967,12,-2646).lua
+++ b/Tyard/nodes/(-3967,12,-2646).lua
@@ -1,5 +1,6 @@
-- Headshunt Exit Controller
-local exit_signal = POS(-3962,14,-2645)
+local exit_signal = POS(-4178,15,-2742) --customise to yard specs
+if not F.yard_active() then return end
__approach_callback_mode = 1
if event.approach and not event.has_entered then
atc_set_ars_disable(true)
@@ -17,7 +18,9 @@ if event.train then
-- set_route(exit_signal,"Exit Yard")
atc_send("S6D10SM")
-- schedule_in(";05","deactivate_check")
+ print(F.get_rc_safe())
return
+ end
else
atc_send("BBOL")
F.error(true)