remove group fx queue 2

This commit is contained in:
Redo 2022-11-04 18:03:54 -06:00
parent ddccf0171f
commit bb66be2083

View File

@ -7,7 +7,7 @@ function Simulation.new(sim)
num_groupqueue = 0, num_groupqueue = 0,
gatequeue = {}, gatequeue = {},
num_gatequeue = 0, num_gatequeue = 0,
groupfxqueue = {}, --groupfxqueue = {},
current_tick = 0, current_tick = 0,
definitions = {}, definitions = {},
@ -297,7 +297,7 @@ function Simulation.dequeuegroup(sim, group)
sim.num_groupqueue = sim.num_groupqueue - 1 sim.num_groupqueue = sim.num_groupqueue - 1
group.in_queue[0] = 0 group.in_queue[0] = 0
end end
sim.groupfxqueue[group] = nil --sim.groupfxqueue[group] = nil
end end
function Simulation.dequeuegate(sim, gate) function Simulation.dequeuegate(sim, gate)
@ -313,9 +313,9 @@ function Simulation.dequeuegate(sim, gate)
end end
end end
function Simulation.queuegroupfx(sim, group) --function Simulation.queuegroupfx(sim, group)
sim.groupfxqueue[group] = group -- sim.groupfxqueue[group] = group
end --end
function Simulation.queuecallback(sim, gate, ...) function Simulation.queuecallback(sim, gate, ...)
sim.callbacks = sim.callbacks or {} sim.callbacks = sim.callbacks or {}