mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Minor bugfix
This commit is contained in:
parent
d58845ee15
commit
75ee5d47ff
@ -301,7 +301,7 @@ namespace XNode {
|
||||
}
|
||||
// Trigger OnRemoveConnection
|
||||
node.OnRemoveConnection(this);
|
||||
if (port != null) port.node.OnRemoveConnection(port);
|
||||
if (port != null && port.IsConnectedTo(this)) port.node.OnRemoveConnection(port);
|
||||
}
|
||||
|
||||
/// <summary> Disconnect this port from another port </summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user