From 659060ddcd8ae05dfb83b9696a158d4ab9725ab4 Mon Sep 17 00:00:00 2001 From: Jeija Date: Tue, 11 Dec 2012 19:54:53 +0100 Subject: Fix a bug that occured when placing an effector next to a receptor --- mesecons/services.lua | 6 +++--- 1 file 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 -- cgit v1.2.3