Skip to content

Commit 7100594

Browse files
committed
fix: catches last condition for destinationPort match
1 parent e5e7931 commit 7100594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PepperDash.Essentials.Core/Routing/Extensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private static bool GetRouteToSource(this IRoutingInputs destination, IRoutingOu
229229
}
230230
else
231231
{
232-
destinationTieLines = TieLineCollection.Default.Where(t => t.DestinationPort.ParentDevice.Key == destination.Key && (t.Type == signalType || t.Type.HasFlag(eRoutingSignalType.AudioVideo)));
232+
destinationTieLines = TieLineCollection.Default.Where(t => t.DestinationPort.ParentDevice.Key == destination.Key && t.DestinationPort.Key == destinationPort.Key && (t.Type == signalType || t.Type.HasFlag(eRoutingSignalType.AudioVideo)));
233233
}
234234

235235
// find the TieLine without a port

0 commit comments

Comments
 (0)