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

@@ -219,7 +219,7 @@ function Simulation.connectwire(sim, wire)
end
if Wire.getgroup(wire)==nil then
Group.addwire(Group.new(Group), wire)
Group.addwire(Group.new(), wire)
end
end
@@ -233,7 +233,7 @@ function Simulation.connectport(sim, port)
end
if Port.getgroup(port) == nil then
Group.addport(Group.new(Group), port)
Group.addport(Group.new(), port)
end
end