summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2012-08-08 12:27:45 +0200
committersfan5 <sfan5@live.de>2012-08-08 12:27:45 +0200
commit6b5c7892048c9ae525ac993e6f0fe24de7d3e7f3 (patch)
tree495ff973c532d7555b2ca9fb441bc3cd65d6e707
parentdd1921c03a39325dc82c718e0711aa3bc834cabe (diff)
downloadmesecons-6b5c7892048c9ae525ac993e6f0fe24de7d3e7f3.tar
mesecons-6b5c7892048c9ae525ac993e6f0fe24de7d3e7f3.tar.gz
mesecons-6b5c7892048c9ae525ac993e6f0fe24de7d3e7f3.tar.bz2
mesecons-6b5c7892048c9ae525ac993e6f0fe24de7d3e7f3.tar.xz
mesecons-6b5c7892048c9ae525ac993e6f0fe24de7d3e7f3.zip
Fix Typo in mesecon:nodeupdate
-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 f14749c..2054cfd 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_pwr_src(pos) then
+ if mesecon:connected_to_pw_src(pos) then
mesecon:turnon(pos, 0, 0, 0)
else
mesecon:turnoff(pos, 0, 0, 0)