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

@@ -1,4 +1,4 @@
return function(gate)
gate:cb(gate.ports[1].state and 1 or 0)
Gate.cb(gate, Gate.getportstate(gate, 1) and 1 or 0)
end