Fix most of the namespace pollutions reported in #311

This commit is contained in:
sfan5
2017-01-15 11:53:49 +01:00
parent 7415036f5b
commit c2e3d7c4e5
8 changed files with 25 additions and 20 deletions

View File

@ -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