remove some error prints
This commit is contained in:
@@ -235,6 +235,7 @@ function Simulation.connectport(sim, port)
|
||||
end
|
||||
end
|
||||
|
||||
-- Logic Critical
|
||||
function Simulation.queuegate(sim, gate)
|
||||
if not gate.in_queue then
|
||||
table.insert(sim.gatequeue, gate)
|
||||
@@ -260,6 +261,7 @@ function Simulation.queuegateinit(sim, gate)
|
||||
sim.initqueue[gate] = gate
|
||||
end
|
||||
|
||||
-- Logic Critical
|
||||
function Simulation.queuegroup(sim, group)
|
||||
if not group.in_queue then
|
||||
table.insert(sim.groupqueue, group)
|
||||
@@ -294,6 +296,7 @@ function Simulation.queuecallback(sim, gate, ...)
|
||||
sim.callbacks[gate.objref] = {...}
|
||||
end
|
||||
|
||||
-- Logic Critical
|
||||
function Simulation.ticklogic(sim)
|
||||
for k, group in ipairs(sim.groupqueue) do
|
||||
Group.update(group)
|
||||
@@ -309,7 +312,7 @@ function Simulation.ticklogic(sim)
|
||||
end
|
||||
|
||||
for k, gate in ipairs(sim.gatequeue) do
|
||||
Gate.logic(gate)
|
||||
gate.logic(gate)
|
||||
gate.in_queue = false
|
||||
end
|
||||
sim.gatequeue = {}
|
||||
|
||||
Reference in New Issue
Block a user