summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:02 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:02 +0200
commitf13f160149988502ca3aa972f52adce8a075bdb8 (patch)
tree4264eddc39b37bd4b52a035bde169e4569f767c6
parentdb5ae18a30b317bb801d2a03190b1b33e8576983 (diff)
downloadluaatc_envs-f13f160149988502ca3aa972f52adce8a075bdb8.tar.gz
luaatc_envs-f13f160149988502ca3aa972f52adce8a075bdb8.tar.bz2
luaatc_envs-f13f160149988502ca3aa972f52adce8a075bdb8.zip
State at 2021-05-20
-rw-r--r--durt/nodes/(-1442,11,-2580).lua2
1 files changed, 1 insertions, 1 deletions
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