make simulation non-global
This commit is contained in:
@@ -20,7 +20,7 @@ function Wire.setlayer(self, layer)
|
||||
Group.removewire(self.group, self)
|
||||
end
|
||||
self.layer = layer
|
||||
Simulation.connectwire(sim, self)
|
||||
Simulation.connectwire(self.sim, self)
|
||||
end
|
||||
|
||||
function Wire.update(self)
|
||||
|
||||
Reference in New Issue
Block a user