fixed pixel to use new callback system
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
return function(gate)
|
||||
if #gate.queueBits~=0 then
|
||||
local bit = table.remove(gate.queueBits, #gate.queueBits)
|
||||
gate.ports[1]:setstate(bit)
|
||||
gate:queue(1)
|
||||
else
|
||||
gate.ports[1]:setstate(false)
|
||||
end
|
||||
end
|
||||
|
||||
return function(gate)
|
||||
if #gate.queueBits~=0 then
|
||||
local bit = table.remove(gate.queueBits, #gate.queueBits)
|
||||
gate.ports[1]:setstate(bit)
|
||||
gate:queue(1)
|
||||
else
|
||||
gate.ports[1]:setstate(false)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user