stop setting metatables on objects
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user