Use the passed-in ruleset

This commit is contained in:
smoogipoo 2018-06-17 18:01:28 +09:00
parent 719056ca4a
commit 0a99d21938

View File

@ -34,7 +34,7 @@ namespace osu.Game.Rulesets.Mania.Difficulty
public ManiaDifficultyCalculator(Ruleset ruleset, WorkingBeatmap beatmap)
: base(ruleset, beatmap)
{
isForCurrentRuleset = beatmap.BeatmapInfo.Ruleset.Equals(new ManiaRuleset().RulesetInfo);
isForCurrentRuleset = beatmap.BeatmapInfo.Ruleset.Equals(ruleset.RulesetInfo);
}
protected override DifficultyAttributes Calculate(IBeatmap beatmap, Mod[] mods, double timeRate)