Skip to content

Commit d1a1539

Browse files
committed
Correct use of last_link_id
Before this change, `last_link_id` is used as `next_link_id`
1 parent b42fad5 commit d1a1539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/litegraph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3396,7 +3396,7 @@
33963396

33973397
if (LiteGraph.isValidConnection(output.type, input.type)) {
33983398
link_info = new LLink(
3399-
this.graph.last_link_id++,
3399+
++this.graph.last_link_id,
34003400
input.type,
34013401
this.id,
34023402
slot,

0 commit comments

Comments
 (0)