From f4782df445723a5911601bf3f10a625dbff586fe Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 8 Aug 2012 12:31:00 +0200 Subject: [PATCH] Finally fix mesecon:updatenode --- mesecons/internal_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesecons/internal_api.lua b/mesecons/internal_api.lua index 2054cfd..2e99258 100644 --- a/mesecons/internal_api.lua +++ b/mesecons/internal_api.lua @@ -385,7 +385,7 @@ function mesecon:check_if_turnon(pos) end function mesecon:updatenode(pos) - if mesecon:connected_to_pw_src(pos) then + if mesecon:connected_to_pw_src(pos, 0, 0, 0) then mesecon:turnon(pos, 0, 0, 0) else mesecon:turnoff(pos, 0, 0, 0)