summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1442,11,-2580).lua
blob: d9baef7764a2975d9def6d1cb1ef23d36fd66bdd (plain)
1
if event.train and atc_arrow then
	local rc = get_rc() or ""
	local rc_remove = {
		['S27_EXIT'] = true,
		['S27_EXIT_LOOP'] = 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