Assign a score's beatmap and cleanup to the Score class

This commit is contained in:
MrTheMake
2017-08-14 13:30:54 +02:00
parent 718eefa362
commit 920710e7d0
2 changed files with 5 additions and 19 deletions

View File

@ -55,6 +55,7 @@ namespace osu.Game.Screens.Select.Leaderboards
i = 0;
foreach (var s in scores)
{
s.Beatmap = beatmap;
s.Ruleset = beatmap?.Ruleset;
var ls = new LeaderboardScore(s, 1 + i)