update logic functions to remove metatable OOP
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
|
||||
return function(gate)
|
||||
gate:cb(bool_to_int[gate.ports[1].state])
|
||||
Gate.cb(gate, bool_to_int[Gate.getportstate(gate, 1)])
|
||||
end
|
||||
|
Reference in New Issue
Block a user