update logic functions to remove metatable OOP

This commit is contained in:
Redo
2020-09-10 12:58:25 -05:00
parent 4095d193ff
commit ab19de7333
206 changed files with 22726 additions and 3544 deletions

View File

@@ -2,9 +2,9 @@
return function(gate)
if #gate.queueBits~=0 then
local bit = table.remove(gate.queueBits, #gate.queueBits)
gate.ports[1]:setstate(bit)
gate:queue(1)
Gate.setportstate(gate, 1, bit)
Gate.queue(gate, 1)
else
gate.ports[1]:setstate(false)
Gate.setportstate(gate, 1, false)
end
end