1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 19:53:23 +08:00

Fix incorrect changes around success callback refactor

This commit is contained in:
Bartłomiej Dach 2024-07-08 13:36:30 +02:00
parent f0ad7a97cb
commit d5158d1035
No known key found for this signature in database

View File

@ -113,8 +113,11 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
setPositions(lowerScores, userScore.Position.Value, 1);
}
Schedule(() => PerformSuccessCallback(scoresCallback, allScores));
hideLoadingSpinners();
Schedule(() =>
{
PerformSuccessCallback(scoresCallback, allScores);
hideLoadingSpinners();
});
};
// On failure, fallback to a normal index.
@ -169,7 +172,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
Schedule(() =>
{
PerformSuccessCallback(scoresCallback, r.Scores, r);
hideLoadingSpinners(pivot);
hideLoadingSpinners(r);
});
};