fixed event gate acting like diode
This commit is contained in:
parent
d309581199
commit
100f2317c1
@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
return function(gate)
|
return function(gate)
|
||||||
gate.ports[2]:setstate(gate.ports[1].state)
|
--gate.ports[2]:setstate(gate.ports[1].state)
|
||||||
gate:cb(bool_to_int[gate.ports[1].state])
|
gate:cb(bool_to_int[gate.ports[1].state])
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user