Skip to content

Commit

Permalink
fix: use correct key for destination CurrentSourceInfoKey
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Welker committed Oct 28, 2024
1 parent 1a11e90 commit 590e162
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ private void UpdateDestination(IRoutingSinkWithSwitching destination, RoutingInp
});

var source = sourceListItem.Value;
var sourceKey = sourceListItem.Key;

if (source == null)
{
Expand All @@ -194,7 +195,7 @@ private void UpdateDestination(IRoutingSinkWithSwitching destination, RoutingInp
// Debug.LogMessage(Serilog.Events.LogEventLevel.Verbose, "Got Source {source}", this, source);

destination.CurrentSourceInfo = source;
destination.CurrentSourceInfoKey = source.SourceKey;
destination.CurrentSourceInfoKey = sourceKey;
}

private TieLine GetRootTieLine(TieLine tieLine)
Expand Down

0 comments on commit 590e162

Please sign in to comment.