fix sim ref in net update
This commit is contained in:
parent
7d0dcc53a2
commit
9744345219
@ -223,7 +223,7 @@ function Group.update(net, tick)
|
|||||||
for i = 0, len do
|
for i = 0, len do
|
||||||
local cgate = cnet.gates_update_c[i]
|
local cgate = cnet.gates_update_c[i]
|
||||||
if cgate.in_queue[0]==0 then
|
if cgate.in_queue[0]==0 then
|
||||||
local gate = Simulation.gate_from_cgate(sim, cgate)
|
local gate = Simulation.gate_from_cgate(GSim, cgate)
|
||||||
Simulation.queuegate(GSim, gate)
|
Simulation.queuegate(GSim, gate)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user