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