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

Fixed bug in NodePort.cs

MoveConnections did not move the connections to another port, added connections to self, then cleared connections from self.
This commit is contained in:
StellarWolfEntertainment 2023-08-19 15:37:51 -06:00 committed by GitHub
parent 82f7887931
commit b94cc843b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -383,7 +383,7 @@ namespace XNode {
for (int i = 0; i < connectionCount; i++) {
PortConnection connection = targetPort.connections[i];
NodePort otherPort = connection.Port;
Connect(otherPort);
targetPort.Connect(otherPort);
}
ClearConnections();
}