Use a method to apply a beatmap, its ruleset and the mods.

This commit is contained in:
MrTheMake
2017-09-08 12:17:16 +02:00
parent 01553fc9ef
commit 526ee107b8
2 changed files with 7 additions and 7 deletions

View File

@ -23,12 +23,7 @@ namespace osu.Game.Online.API.Requests
private void onSuccess(GetScoresResponse r)
{
foreach (OnlineScore score in r.Scores)
{
score.Beatmap = beatmap;
score.Ruleset = beatmap.Ruleset;
score.ResolveModString();
}
score.ApplyBeatmap(beatmap);
}
protected override WebRequest CreateWebRequest()