From f13f160149988502ca3aa972f52adce8a075bdb8 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:53:02 +0200 Subject: State at 2021-05-20 --- durt/nodes/(-1442,11,-2580).lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'durt/nodes') diff --git a/durt/nodes/(-1442,11,-2580).lua b/durt/nodes/(-1442,11,-2580).lua index a6c1a9d..c0707cd 100644 --- a/durt/nodes/(-1442,11,-2580).lua +++ b/durt/nodes/(-1442,11,-2580).lua @@ -1 +1 @@ -if event.train and atc_arrow then local rc = get_rc() or "" local rc_list = {} for token in rc:gmatch("[^%s]+") do if token ~= "S27_EXIT" then table.insert(rc_list,token) end end rc = table.concat(rc_list," ") set_rc(rc) atc_send("SM") return end \ No newline at end of file +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 \ No newline at end of file -- cgit v1.2.3