diff --git a/osu.Game.Rulesets.Touhosu/Difficulty/TouhosuDifficultyCalculator.cs b/osu.Game.Rulesets.Touhosu/Difficulty/TouhosuDifficultyCalculator.cs index b2abaf8..2eba528 100644 --- a/osu.Game.Rulesets.Touhosu/Difficulty/TouhosuDifficultyCalculator.cs +++ b/osu.Game.Rulesets.Touhosu/Difficulty/TouhosuDifficultyCalculator.cs @@ -11,7 +11,7 @@ namespace osu.Game.Rulesets.Touhosu.Difficulty { public class TouhosuDifficultyCalculator : DifficultyCalculator { - public TouhosuDifficultyCalculator(Ruleset ruleset, WorkingBeatmap beatmap) + public TouhosuDifficultyCalculator(IRulesetInfo ruleset, IWorkingBeatmap beatmap) : base(ruleset, beatmap) { } diff --git a/osu.Game.Rulesets.Touhosu/TouhosuRuleset.cs b/osu.Game.Rulesets.Touhosu/TouhosuRuleset.cs index 22e67f8..fb08927 100644 --- a/osu.Game.Rulesets.Touhosu/TouhosuRuleset.cs +++ b/osu.Game.Rulesets.Touhosu/TouhosuRuleset.cs @@ -104,11 +104,11 @@ public override IEnumerable GetModsFor(ModType type) Texture = new TextureStore(new TextureLoaderStore(CreateResourceStore()), false).Get("Textures/logo"), }; - public override DifficultyCalculator CreateDifficultyCalculator(WorkingBeatmap beatmap) => new TouhosuDifficultyCalculator(this, beatmap); - protected override IEnumerable GetValidHitResults() => new[] { HitResult.Perfect }; + + public override DifficultyCalculator CreateDifficultyCalculator(IWorkingBeatmap beatmap) => new TouhosuDifficultyCalculator(RulesetInfo, beatmap); } } diff --git a/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj b/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj index 80416db..301fadc 100644 --- a/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj +++ b/osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj @@ -11,6 +11,6 @@ - + \ No newline at end of file