summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-12-19 20:47:31 -0800
committerPixel <pixel@nobis-crew.org>2009-12-19 20:47:31 -0800
commit41ed35236818d3f08b468e30add7ccfd05cde2c5 (patch)
tree7c779ad4a29d09f344466c222db32dd3c3bea989
parentdcfd1cd1761b117007a931929956c54841e9904e (diff)
Avoiding using twice the same input...
-rw-r--r--dalos-binaryops.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/dalos-binaryops.lua b/dalos-binaryops.lua
index 886f153..6949524 100644
--- a/dalos-binaryops.lua
+++ b/dalos-binaryops.lua
@@ -31,7 +31,7 @@ Maximize: %b[No,Yes]{Check if you want to maximize the output}
input_change = function (self, ind)
local h1 = self:get_linked_input(1)
- local h2 = self:get_linked_input(1)
+ local h2 = self:get_linked_input(2)
local op = self.extra.op or dalosp.binaryops.operations.XOR
if h1 and h2 then
self.color = cd.GREEN