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