Correct use of last_link_id

Before this change, `last_link_id` is used as `next_link_id`
This commit is contained in:
NateScarlet
2019-08-12 16:20:07 +08:00
parent b42fad51d2
commit d1a1539dbe

View File

@@ -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,