summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1442,11,-2580).lua
blob: c0707cda3c4535c57f0030fd8bf1b6df41a37d17 (plain)
1
if event.train and atc_arrow then
	local rc = get_rc() or ""
	local rc_remove = {
		['S27_EXIT'] = true,
		['S27_test'] = true
	}
	local rc_list = {}
	for token in rc:gmatch("[^%s]+") do
		if not rc_remove[token] then
			table.insert(rc_list,token)
		end
	end
	
	rc = table.concat(rc_list," ")
	set_rc(rc)
	atc_send("SM")
	return
end