fix net c struct ref

This commit is contained in:
Redo
2022-11-04 17:40:14 -06:00
parent 0cb1ef5540
commit 0f35ee4d36
2 changed files with 6 additions and 3 deletions

View File

@@ -293,7 +293,7 @@ end
function Simulation.dequeuegroup(sim, group)
if group.in_queue[0]~=0 then
array_remove(sim.groupqueue, group.c, true)
array_remove(sim.groupqueue, group, true)
sim.num_groupqueue = sim.num_groupqueue - 1
group.in_queue[0] = 0
end