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
|
||||
local cgate = cnet.gates_update_c[i]
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user