diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:57:54 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:57:54 +0200 |
commit | 1443c3b5a1e0de1fc501e94a453554ab28e2fc8c (patch) | |
tree | a2531ac2018a8695962644fdd20b04c59da0b9a8 /durt/nodes | |
parent | 7ac61207f5e208d1d70871a714218465b3025d16 (diff) | |
download | luaatc_envs-1443c3b5a1e0de1fc501e94a453554ab28e2fc8c.tar.gz luaatc_envs-1443c3b5a1e0de1fc501e94a453554ab28e2fc8c.tar.bz2 luaatc_envs-1443c3b5a1e0de1fc501e94a453554ab28e2fc8c.zip |
State at 2022-07-04
Diffstat (limited to 'durt/nodes')
-rw-r--r-- | durt/nodes/(-1512,8,-2613).lua | 2 | ||||
-rw-r--r-- | durt/nodes/(1949,7,9112).lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/durt/nodes/(-1512,8,-2613).lua b/durt/nodes/(-1512,8,-2613).lua index 9651843..6732baf 100644 --- a/durt/nodes/(-1512,8,-2613).lua +++ b/durt/nodes/(-1512,8,-2613).lua @@ -2,7 +2,7 @@ local ind = POS(-1513,8,-2613) local loco_track = POS(-1515,7,-2625) if event.ext_int then - if event.message == "S27" then + if event.message == "notify" then if F.indicator(ind) then return end F.indicator(ind,true) interrupt_pos(loco_track,"SEND") diff --git a/durt/nodes/(1949,7,9112).lua b/durt/nodes/(1949,7,9112).lua index 06aee8c..8fd61c9 100644 --- a/durt/nodes/(1949,7,9112).lua +++ b/durt/nodes/(1949,7,9112).lua @@ -13,8 +13,8 @@ if event.train and atc_arrow then atc_send("B0WR") end -if (event.channel == "train_ctl" and event.msg == "send") or ((event.ext_int or event.schedule) and event.message == "send") then - print("RX Notification") +if (event.ext_int and event.message == "notify") or (event.schedule and event.message == "send") or (event.channel=="train_ctl" and event.msg=="send") then + print("WOA RX Notification") if not atc_id then F.indicator(ind,true) return |