From bb353118ace4b7d850bc65445ac59ade9a3a411d Mon Sep 17 00:00:00 2001 From: Redo Date: Wed, 3 Feb 2021 09:33:14 -0600 Subject: [PATCH] finish removing colon syntax on simulation --- sim/simulation.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sim/simulation.lua b/sim/simulation.lua index 4bdeae2..bdc3723 100644 --- a/sim/simulation.lua +++ b/sim/simulation.lua @@ -187,22 +187,22 @@ function Simulation.connectwire(self, wire) for x = bounds[1]+1, bounds[4]-1, 2 do for z = bounds[3]+1, bounds[6]-1, 2 do - self:connectwireat(wire, x, bounds[2], z) - self:connectwireat(wire, x, bounds[5], z) + Simulation.connectwireat(self, wire, x, bounds[2], z) + Simulation.connectwireat(self, wire, x, bounds[5], z) end end for y = bounds[2]+1, bounds[5]-1, 2 do for z = bounds[3]+1, bounds[6]-1, 2 do - self:connectwireat(wire, bounds[1], y, z) - self:connectwireat(wire, bounds[4], y, z) + Simulation.connectwireat(self, wire, bounds[1], y, z) + Simulation.connectwireat(self, wire, bounds[4], y, z) end end for x = bounds[1]+1, bounds[4]-1, 2 do for y = bounds[2]+1, bounds[5]-1, 2 do - self:connectwireat(wire, x, y, bounds[3]) - self:connectwireat(wire, x, y, bounds[6]) + Simulation.connectwireat(self, wire, x, y, bounds[3]) + Simulation.connectwireat(self, wire, x, y, bounds[6]) end end