1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Actually initialise DifficultyCalculator with mods

This commit is contained in:
smoogipoo 2017-11-17 20:19:49 +09:00
parent 5d753427f6
commit 433f4f03a1

View File

@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Scoring
Beatmap = CreateBeatmapConverter().Convert(beatmap);
Score = score;
var diffCalc = ruleset.CreateDifficultyCalculator(beatmap);
var diffCalc = ruleset.CreateDifficultyCalculator(beatmap, score.Mods);
diffCalc.Calculate(attributes);
}