From e1abe6d48917851802c65bce7c03005ba39e1bc7 Mon Sep 17 00:00:00 2001 From: StellarWolfEntertainment <142454885+StellarWolfEntertainment@users.noreply.github.com> Date: Sat, 19 Aug 2023 15:39:29 -0600 Subject: [PATCH] Update NodePort.cs Noticed that the port being grabbed was from the targetPort, not itself --- Scripts/NodePort.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/NodePort.cs b/Scripts/NodePort.cs index e225121..cbeb688 100644 --- a/Scripts/NodePort.cs +++ b/Scripts/NodePort.cs @@ -381,7 +381,7 @@ namespace XNode { // Add connections to target port for (int i = 0; i < connectionCount; i++) { - PortConnection connection = targetPort.connections[i]; + PortConnection connection = connections[i]; NodePort otherPort = connection.Port; targetPort.Connect(otherPort); }