Add flag to determine whether the beatmap requested for conversion is for the current ruleset.

This commit is contained in:
smoogipooo
2017-05-19 15:57:32 +09:00
parent 4e8ead9cf4
commit 67cf64062a
16 changed files with 56 additions and 33 deletions

View File

@ -34,7 +34,7 @@ namespace osu.Game.Beatmaps
protected DifficultyCalculator(Beatmap beatmap)
{
Objects = CreateBeatmapConverter().Convert(beatmap).HitObjects;
Objects = CreateBeatmapConverter().Convert(beatmap, true).HitObjects;
foreach (var h in Objects)
h.ApplyDefaults(beatmap.TimingInfo, beatmap.BeatmapInfo.Difficulty);