diff options
-rw-r--r-- | mesecons/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons/init.lua b/mesecons/init.lua index 6378946..f53a5bf 100644 --- a/mesecons/init.lua +++ b/mesecons/init.lua @@ -93,7 +93,7 @@ function mesecon:receptor_off(pos, rules) for _, rule in ipairs(rules) do local np = mesecon:addPosRule(pos, rule) local link, rulename = mesecon:rules_link(pos, np, rules) - if link then + if link and not mesecon:connected_to_receptor(np) then mesecon:turnoff(np, rulename) end end |