[gates] Remove undeclared global variable

This commit is contained in:
Starbeamrainbowlabs 2018-09-22 20:50:46 +01:00 committed by GitHub
parent 3332e4bbdc
commit 3d88727c4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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