remove fx queue

This commit is contained in:
Redo 2022-11-04 18:00:40 -06:00
parent 0f35ee4d36
commit ddccf0171f
2 changed files with 4 additions and 3 deletions

View File

@ -226,7 +226,7 @@ function Group.update(net, tick)
end end
end end
Simulation.queuegroupfx(GSim, net) --Simulation.queuegroupfx(GSim, net)
end end
end end

View File

@ -373,7 +373,8 @@ function Simulation.tickinput(sim)
end end
function Simulation.sendfxupdate(sim) function Simulation.sendfxupdate(sim)
for k, group in pairs(sim.groupfxqueue) do --for k, group in pairs(sim.groupfxqueue) do
for k, group in pairs(sim.nets) do
if group.state[0] ~= group.fxstate then if group.state[0] ~= group.fxstate then
group.fxstate = group.state[0] group.fxstate = group.state[0]
@ -387,7 +388,7 @@ function Simulation.sendfxupdate(sim)
end end
end end
sim.groupfxqueue = {} --sim.groupfxqueue = {}
end end
function Simulation.sendcallbacks(sim) function Simulation.sendcallbacks(sim)