summaryrefslogtreecommitdiff
path: root/auto_yards/nodes/(-719,20,2475).lua
blob: acfc06a1a856a5f8abf2f9a9ae95c45e9228e2dc (plain)
1
2
3
4
5
6
7
8
9
10
local yard_id = "CAN"
if event.train then
    if F.has_rc(yard_id.."_LIGHT_EXIT") then
        F.remove_rc(yard_id.."_LIGHT_EXIT")
        atc_set_ars_disable(false)
        atc_send("SM")
        return
    end
end
F.headshunt_exit(yard_id,true)