1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 20:20:21 +08:00

Sort scores immediately for good measure

This commit is contained in:
Dean Herbert
2025-08-26 17:51:14 +09:00
Unverified
parent 196b28115e
commit 3f179e3903
@@ -65,8 +65,12 @@ namespace osu.Game.Screens.Select.Leaderboards
// touching the public bindable must happen on the update thread for general thread safety,
// since we may have external subscribers bound already
Schedule(() => scores.AddRange(scoresToShow));
Scheduler.AddDelayed(sort, 1000, true);
Schedule(() =>
{
scores.AddRange(scoresToShow);
sort();
Scheduler.AddDelayed(sort, 1000, true);
});
}
// logic shared with SoloGameplayLeaderboardProvider