summaryrefslogtreecommitdiff
path: root/durt
diff options
context:
space:
mode:
Diffstat (limited to 'durt')
-rw-r--r--durt/nodes/(-1512,8,-2613).lua2
-rw-r--r--durt/nodes/(1949,7,9112).lua4
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