summaryrefslogtreecommitdiff
path: root/durt/nodes/(-2211,8,902).lua
blob: 7e117616c607d6b780b0c5a067d90d125ab3fdd0 (plain)
1
if event.type=="digiline" then
	if event.channel ~= "trainctl" then return end
	if event.msg == "send" then
		if atc_id and atc_arrow then
			atc_send("S0WRS5")
		elseif atc_id and atc_arrow == false then
			atc_send("S5")
		end
	end
end