Implement ruleset-specific beatmap statistics

This commit is contained in:
smoogipoo
2018-05-07 10:51:17 +09:00
parent 30a3f4f29f
commit 5489976c20
6 changed files with 57 additions and 37 deletions

View File

@ -234,8 +234,8 @@ namespace osu.Game.Screens.Select
Content = getBPMRange(beatmap),
}));
//get statistics from the current ruleset.
labels.AddRange(info.Ruleset.CreateInstance().GetBeatmapStatistics(working).Select(s => new InfoLabel(s)));
//get statistics for the current ruleset.
labels.AddRange(working.GetPlayableBeatmap(info.Ruleset).GetStatistics().Select(s => new InfoLabel(s)));
}
return labels.ToArray();