summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2012-08-08 12:39:33 +0200
committersfan5 <sfan5@live.de>2012-08-08 12:39:33 +0200
commit13538d56d9a822e0a9de6583f59e2258729f6e14 (patch)
tree47ebeec12ab0ce37e77a08a0ba994ec335ca7ec2
parentf4782df445723a5911601bf3f10a625dbff586fe (diff)
downloadmesecons-13538d56d9a822e0a9de6583f59e2258729f6e14.tar
mesecons-13538d56d9a822e0a9de6583f59e2258729f6e14.tar.gz
mesecons-13538d56d9a822e0a9de6583f59e2258729f6e14.tar.bz2
mesecons-13538d56d9a822e0a9de6583f59e2258729f6e14.tar.xz
mesecons-13538d56d9a822e0a9de6583f59e2258729f6e14.zip
Fix mesecon:updatenode for the last Time...
-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 2e99258..f2f2ace 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, 0, 0, 0) 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)