Fix score order

This commit is contained in:
smoogipoo 2020-05-21 20:48:08 +09:00
parent 717869225e
commit 7b82a5d792

View File

@ -90,8 +90,7 @@ namespace osu.Game.Screens.Ranking
private class Flow : FillFlowContainer<ScorePanel>
{
// Todo: Order is wrong.
public override IEnumerable<Drawable> FlowingChildren => AliveInternalChildren.OfType<ScorePanel>().OrderBy(s => s.Score.TotalScore);
public override IEnumerable<Drawable> FlowingChildren => AliveInternalChildren.OfType<ScorePanel>().OrderByDescending(s => s.Score.TotalScore).ThenByDescending(s => s.Score.OnlineScoreID);
}
}
}