From cb70928146fd4e8617b3cc1395373d3d92716b59 Mon Sep 17 00:00:00 2001 From: atlasan Date: Mon, 25 Oct 2021 12:02:13 +0200 Subject: [PATCH] tiny fix --- src/litegraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/litegraph.js b/src/litegraph.js index 73744005d..56f8c2806 100644 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -614,7 +614,7 @@ if (type_a=="" || type_a==="*") type_a = 0; if (type_b=="" || type_b==="*") type_b = 0; if ( - !generic //generic output + !type_a //generic output || !type_b // generic input || type_a == type_b //same type (is valid for triggers) || (type_a == LiteGraph.EVENT && type_b == LiteGraph.ACTION)