stop setting metatables on objects

This commit is contained in:
Redo0
2021-05-25 17:28:54 -05:00
parent 4cf2231a01
commit e92cc50186
7 changed files with 11 additions and 21 deletions

View File

@@ -10,15 +10,13 @@ FFI.cdef[[
};
]]
function Wire.new(self, objref, layer, bounds)
function Wire.new(objref, layer, bounds)
local o = {
objref = objref,
layer = layer,
group = nil,
bounds = bounds,
}
setmetatable(o, self)
self.__index = self
return o
end