From 100f2317c1ec41c8c714766d035a4657d7f5ce1d Mon Sep 17 00:00:00 2001 From: Redo Date: Mon, 30 Mar 2020 22:39:51 -0500 Subject: [PATCH] fixed event gate acting like diode --- bricks/special/EventGate-update.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bricks/special/EventGate-update.lua b/bricks/special/EventGate-update.lua index 85f7128..a2a68a6 100644 --- a/bricks/special/EventGate-update.lua +++ b/bricks/special/EventGate-update.lua @@ -1,4 +1,5 @@ + 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]) -end \ No newline at end of file +end