add rainbow wires
This commit is contained in:
@@ -100,6 +100,8 @@ function network_update()
|
||||
local wire = Simulation.getwirebyref(sim, tonumber(data[i+1]))
|
||||
if wire ~= nil then
|
||||
Wire.setlayer(wire, tonumber(data[i+2]))
|
||||
else
|
||||
error("Setlayer: no wire for objref "..tonumber(data[i+1]))
|
||||
end
|
||||
|
||||
i = i + 2
|
||||
|
||||
Reference in New Issue
Block a user