diff options
author | sfan5 <sfan5@live.de> | 2017-01-15 11:53:49 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-01-15 11:53:49 +0100 |
commit | c2e3d7c4e58b2563e79aead60c6efedf27c786cf (patch) | |
tree | 12c0d4f0d9ca5e31aac900a7c0efbbfd56ed03bf /mesecons_gates/init.lua | |
parent | 7415036f5b3e75e182bb3818b7e68718022319c1 (diff) |
Fix most of the namespace pollutions reported in #311
Diffstat (limited to 'mesecons_gates/init.lua')
-rw-r--r-- | mesecons_gates/init.lua | 2 |
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 |