mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Use the passed-in ruleset
This commit is contained in:
parent
719056ca4a
commit
0a99d21938
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user