summaryrefslogtreecommitdiff
path: root/mesecons_insulated
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2017-01-15 11:53:49 +0100
committersfan5 <sfan5@live.de>2017-01-15 11:53:49 +0100
commitc2e3d7c4e58b2563e79aead60c6efedf27c786cf (patch)
tree12c0d4f0d9ca5e31aac900a7c0efbbfd56ed03bf /mesecons_insulated
parent7415036f5b3e75e182bb3818b7e68718022319c1 (diff)
downloadmesecons-c2e3d7c4e58b2563e79aead60c6efedf27c786cf.tar
mesecons-c2e3d7c4e58b2563e79aead60c6efedf27c786cf.tar.gz
mesecons-c2e3d7c4e58b2563e79aead60c6efedf27c786cf.tar.bz2
mesecons-c2e3d7c4e58b2563e79aead60c6efedf27c786cf.tar.xz
mesecons-c2e3d7c4e58b2563e79aead60c6efedf27c786cf.zip
Fix most of the namespace pollutions reported in #311
Diffstat (limited to 'mesecons_insulated')
-rw-r--r--mesecons_insulated/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_insulated/init.lua b/mesecons_insulated/init.lua
index c6fc05e..15b916b 100644
--- a/mesecons_insulated/init.lua
+++ b/mesecons_insulated/init.lua
@@ -1,4 +1,4 @@
-function insulated_wire_get_rules(node)
+local function insulated_wire_get_rules(node)
local rules = {{x = 1, y = 0, z = 0},
{x =-1, y = 0, z = 0}}
if node.param2 == 1 or node.param2 == 3 then