summaryrefslogtreecommitdiff
path: root/Tyard/nodes/(-4100,12,-2745).lua
diff options
context:
space:
mode:
Diffstat (limited to 'Tyard/nodes/(-4100,12,-2745).lua')
-rw-r--r--Tyard/nodes/(-4100,12,-2745).lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tyard/nodes/(-4100,12,-2745).lua b/Tyard/nodes/(-4100,12,-2745).lua
index 16007e9..bd4ff7e 100644
--- a/Tyard/nodes/(-4100,12,-2745).lua
+++ b/Tyard/nodes/(-4100,12,-2745).lua
@@ -1,7 +1,9 @@
-- Yard arrival checker
+-- F.dir = true if entering from south
local function enter_yard()
F.dir(true)
F.yard_active(true)
+ F.add_rc({"TY_ARRIVE"})
atc_set_ars_disable(false)
atc_send("S6")
return
@@ -10,7 +12,7 @@ end
__approach_callback_mode = 1
if event.approach and not event.has_entered then
atc_set_ars_disable(true)
- atc_set_lzb_trs(1)
+ atc_set_lzb_tsr(1)
return
end