make net states pointers
This commit is contained in:
@@ -371,10 +371,10 @@ end
|
||||
|
||||
function Simulation.sendfxupdate(sim)
|
||||
for k, group in pairs(sim.groupfxqueue) do
|
||||
if group.state ~= group.fxstate then
|
||||
group.fxstate = group.state
|
||||
if group.state[0] ~= group.fxstate then
|
||||
group.fxstate = group.state[0]
|
||||
|
||||
local data = group.state
|
||||
local data = group.state[0]
|
||||
|
||||
for i, wire in pairs(group.wires) do
|
||||
data = data .. "\t" .. Wire.getobjref(wire)
|
||||
|
||||
Reference in New Issue
Block a user