From 492b22e724f211f3a315672c84b06446af48ebd6 Mon Sep 17 00:00:00 2001 From: Andrei Zavatski Date: Sat, 20 Nov 2021 14:17:49 +0300 Subject: [PATCH] Bump osugame --- .../Difficulty/TouhosuDifficultyCalculator.cs | 2 +- osu.Game.Rulesets.Touhosu/TouhosuRuleset.cs | 4 ++-- osu.Game.Rulesets.Touhosu/osu.Game.Rulesets.Touhosu.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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