update logic functions to remove metatable OOP
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user