1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

Update NodePort.cs

Noticed that the port being grabbed was from the targetPort, not itself
This commit is contained in:
StellarWolfEntertainment 2023-08-19 15:39:29 -06:00 committed by GitHub
parent b94cc843b0
commit e1abe6d489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}