stop setting metatables on objects
This commit is contained in:
@@ -10,7 +10,7 @@ FFI.cdef[[
|
||||
};
|
||||
]]
|
||||
|
||||
function Gate.new(self, objref, definition)
|
||||
function Gate.new(objref, definition)
|
||||
local o = {
|
||||
objref = objref,
|
||||
definition = definition,
|
||||
@@ -18,8 +18,6 @@ function Gate.new(self, objref, definition)
|
||||
in_queue = false,
|
||||
logic = definition.logic,
|
||||
}
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
return o
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user