summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons/internal_api.lua2
1 files changed, 1 insertions, 1 deletions
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)