From c2e3d7c4e58b2563e79aead60c6efedf27c786cf Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 15 Jan 2017 11:53:49 +0100 Subject: Fix most of the namespace pollutions reported in #311 --- mesecons_insulated/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesecons_insulated/init.lua') 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 -- cgit v1.2.3