finish removing colon syntax on simulation

This commit is contained in:
Redo 2021-02-03 09:33:14 -06:00
parent 54f45520c0
commit bb353118ac

View File

@ -187,22 +187,22 @@ function Simulation.connectwire(self, wire)
for x = bounds[1]+1, bounds[4]-1, 2 do for x = bounds[1]+1, bounds[4]-1, 2 do
for z = bounds[3]+1, bounds[6]-1, 2 do for z = bounds[3]+1, bounds[6]-1, 2 do
self:connectwireat(wire, x, bounds[2], z) Simulation.connectwireat(self, wire, x, bounds[2], z)
self:connectwireat(wire, x, bounds[5], z) Simulation.connectwireat(self, wire, x, bounds[5], z)
end end
end end
for y = bounds[2]+1, bounds[5]-1, 2 do for y = bounds[2]+1, bounds[5]-1, 2 do
for z = bounds[3]+1, bounds[6]-1, 2 do for z = bounds[3]+1, bounds[6]-1, 2 do
self:connectwireat(wire, bounds[1], y, z) Simulation.connectwireat(self, wire, bounds[1], y, z)
self:connectwireat(wire, bounds[4], y, z) Simulation.connectwireat(self, wire, bounds[4], y, z)
end end
end end
for x = bounds[1]+1, bounds[4]-1, 2 do for x = bounds[1]+1, bounds[4]-1, 2 do
for y = bounds[2]+1, bounds[5]-1, 2 do for y = bounds[2]+1, bounds[5]-1, 2 do
self:connectwireat(wire, x, y, bounds[3]) Simulation.connectwireat(self, wire, x, y, bounds[3])
self:connectwireat(wire, x, y, bounds[6]) Simulation.connectwireat(self, wire, x, y, bounds[6])
end end
end end