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:
parent
5d753427f6
commit
433f4f03a1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user