Fix Output BluePrint V2
This commit is contained in:
@ -56,11 +56,12 @@ void UFTDFluxUtils::GetFullName(const int Bib, FText& OutFullName)
|
||||
UE_LOG(logDTFluxUtilities, Error, TEXT("DTFluxCoreSubsystem not available"));
|
||||
}
|
||||
|
||||
TArray<FDTFluxSplitSensorInfo>& UFTDFluxUtils::SortSplitRankingsByRank(TArray<FDTFluxSplitSensorInfo>& OutRankings)
|
||||
TArray<FDTFluxSplitSensorInfo> UFTDFluxUtils::SortSplitRankingsByRank(const TArray<FDTFluxSplitSensorInfo>& Rankings)
|
||||
{
|
||||
OutRankings.Sort([](const FDTFluxSplitSensorInfo& A, const FDTFluxSplitSensorInfo& B)
|
||||
TArray<FDTFluxSplitSensorInfo> CopyRankings = Rankings;
|
||||
CopyRankings.Sort([](const FDTFluxSplitSensorInfo& A, const FDTFluxSplitSensorInfo& B)
|
||||
{
|
||||
return A.Rank < B.Rank;
|
||||
});
|
||||
return OutRankings;
|
||||
return CopyRankings;
|
||||
}
|
||||
Reference in New Issue
Block a user