summaryrefslogtreecommitdiff
path: root/mesecons_gates
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_gates
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_gates')
-rw-r--r--mesecons_gates/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_gates/init.lua b/mesecons_gates/init.lua
index f3d6f09..57815ef 100644
--- a/mesecons_gates/init.lua
+++ b/mesecons_gates/init.lua
@@ -54,7 +54,7 @@ local function update_gate(pos, node, link, newstate)
end
end
-function register_gate(name, inputnumber, assess, recipe)
+local function register_gate(name, inputnumber, assess, recipe)
local get_inputrules = inputnumber == 2 and gate_get_input_rules_twoinputs or
gate_get_input_rules_oneinput
local description = "Mesecons Logic Gate: "..name