summaryrefslogtreecommitdiff
path: root/auto_yards/nodes/(-2038,20,730).lua
blob: a7907468d25ee3fcc10ca93f2d52efc3b39b60d3 (plain)
1
2
3
4
5
6
local yard_id = "ARC"
if event.digiline and event.channel=="yard_ctl" and event.msg=="disable" then
 F.indicator(S.yards[yard_id].active_indicator_pos, false)
	S.yards[yard_id].departure_time = rwt.now()
	S.yards[yard_id].departure_length = S.yards[yard_id].arrival_length
end