summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1512,8,-2613).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-1512,8,-2613).lua')
-rw-r--r--durt/nodes/(-1512,8,-2613).lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/durt/nodes/(-1512,8,-2613).lua b/durt/nodes/(-1512,8,-2613).lua
index ecf8060..b38ec43 100644
--- a/durt/nodes/(-1512,8,-2613).lua
+++ b/durt/nodes/(-1512,8,-2613).lua
@@ -2,17 +2,16 @@ local ind = POS(-1513,8,-2613)
local loco_track = POS(-1515,7,-2625)
if event.ext_int then
- local m = event.message
- if m.command == "NOTIFY" and m.msg == "S27" then
+ if event.message == "S27" then
if F.indicator(ind) then return end
interrupt_pos(loco_track,"SEND")
- F.indicator(ind,"on")
+ F.indicator(ind,false)
return
end
end
if event.punch then
- F.indicator(ind,"on")
+ F.indicator(ind,true)
interrupt_pos(loco_track,"SEND")
return
end \ No newline at end of file