Schedule api callback

This commit is contained in:
smoogipoo 2020-05-22 20:19:23 +09:00
parent 5005986049
commit 6bcc4c95cc

View File

@ -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);
}