make simulation non-global
This commit is contained in:
@@ -207,7 +207,7 @@ function Simulation.connectwire(self, wire)
|
||||
end
|
||||
|
||||
if Wire.getgroup(wire)==nil then
|
||||
Group.addwire(Group.new(Group), wire)
|
||||
Group.addwire(Group.new(Group, self), wire)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -221,7 +221,7 @@ function Simulation.connectport(self, port)
|
||||
end
|
||||
|
||||
if Port.getgroup(port) == nil then
|
||||
Group.addport(Group.new(Group), port)
|
||||
Group.addport(Group.new(Group, self), port)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user