Merge pull request #1 from sbrl/patch-2
[gates] Remove undeclared global variable
This commit is contained in:
commit
6387877afd
@ -42,8 +42,6 @@ gates = {}
|
||||
|
||||
function gates.register_gate(name, def, open, closed)
|
||||
if name ~= nil then
|
||||
if mode == nil then mode = "on_punch" end
|
||||
|
||||
--Creates two nodes, open and closed node
|
||||
for i,v in pairs(def) do open[i] = v end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user