mirror of
https://github.com/ppy/osu
synced 2025-01-19 12:30:50 +00:00
Schedule api callback
This commit is contained in:
parent
5005986049
commit
6bcc4c95cc
@ -120,7 +120,7 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
var req = new GetScoresRequest(Score.Beatmap, Score.Ruleset);
|
||||
|
||||
req.Success += r =>
|
||||
req.Success += r => Schedule(() =>
|
||||
{
|
||||
foreach (var s in r.Scores.Select(s => s.CreateScoreInfo(rulesets)))
|
||||
{
|
||||
@ -129,7 +129,7 @@ namespace osu.Game.Screens.Ranking
|
||||
|
||||
panels.AddScore(s);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
api.Queue(req);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user