diff options
-rw-r--r-- | mesecons/services.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesecons/services.lua b/mesecons/services.lua index 1cbba5f..27900b1 100644 --- a/mesecons/services.lua +++ b/mesecons/services.lua @@ -18,10 +18,10 @@ minetest.register_on_placenode( if mesecon:is_powered(pos) then if mesecon:is_conductor_off(node.name) then - mesecon:turnon(pos) + mesecon:turnon(pos, node) else - mesecon:changesignal(pos) - mesecon:activate(pos) + mesecon:changesignal(pos, node) + mesecon:activate(pos, node) end end end |