From d1a1539dbe70e33b5dd142b6f94397f23d2a3e1e Mon Sep 17 00:00:00 2001 From: NateScarlet Date: Mon, 12 Aug 2019 16:20:07 +0800 Subject: [PATCH] Correct use of last_link_id Before this change, `last_link_id` is used as `next_link_id` --- src/litegraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/litegraph.js b/src/litegraph.js index 1265fd36c..a604fc8da 100755 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -3396,7 +3396,7 @@ if (LiteGraph.isValidConnection(output.type, input.type)) { link_info = new LLink( - this.graph.last_link_id++, + ++this.graph.last_link_id, input.type, this.id, slot,