diff --git a/.vscode/launch.json b/.vscode/launch.json index daed613..c828a41 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,7 +7,7 @@ "request": "launch", "program": "dotnet", "args": [ - "${workspaceRoot}/osu.Game.Rulesets.Hishigata.Tests/bin/Debug/net5.0/osu.Game.Rulesets.Hishigata.Tests.dll" + "${workspaceRoot}/osu.Game.Rulesets.Hishigata.Tests/bin/Debug/net6.0/osu.Game.Rulesets.Hishigata.Tests.dll" ], "cwd": "${workspaceRoot}", "preLaunchTask": "Build tests (Debug)", @@ -19,7 +19,7 @@ "request": "launch", "program": "dotnet", "args": [ - "${workspaceRoot}/osu.Game.Rulesets.Hishigata.Tests/bin/Release/net5.0/osu.Game.Rulesets.Hishigata.Tests.dll" + "${workspaceRoot}/osu.Game.Rulesets.Hishigata.Tests/bin/Release/net6.0/osu.Game.Rulesets.Hishigata.Tests.dll" ], "cwd": "${workspaceRoot}", "preLaunchTask": "Build tests (Release)", diff --git a/osu.Game.Rulesets.Hishigata/HishigataRuleset.cs b/osu.Game.Rulesets.Hishigata/HishigataRuleset.cs index 59ca26d..5267a01 100644 --- a/osu.Game.Rulesets.Hishigata/HishigataRuleset.cs +++ b/osu.Game.Rulesets.Hishigata/HishigataRuleset.cs @@ -27,7 +27,7 @@ public class HishigataRuleset : Ruleset { public override string Description => "hishigata"; - public override ScoreProcessor CreateScoreProcessor() => new HishigataScoreProcessor(); + public override ScoreProcessor CreateScoreProcessor() => new HishigataScoreProcessor(this); public override DrawableRuleset CreateDrawableRulesetWith(IBeatmap beatmap, IReadOnlyList mods = null) => new DrawableHishigataRuleset(this, beatmap, mods); diff --git a/osu.Game.Rulesets.Hishigata/Scoring/HishigataScoreProcessor.cs b/osu.Game.Rulesets.Hishigata/Scoring/HishigataScoreProcessor.cs index c482e7e..79df4e6 100644 --- a/osu.Game.Rulesets.Hishigata/Scoring/HishigataScoreProcessor.cs +++ b/osu.Game.Rulesets.Hishigata/Scoring/HishigataScoreProcessor.cs @@ -4,6 +4,7 @@ namespace osu.Game.Rulesets.Hishigata.Scoring { public class HishigataScoreProcessor : ScoreProcessor { + public HishigataScoreProcessor(HishigataRuleset ruleset) : base(ruleset) { } protected override double DefaultAccuracyPortion => 0.5; protected override double DefaultComboPortion => 0.5; } diff --git a/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj b/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj index aea4b83..e48a369 100644 --- a/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj +++ b/osu.Game.Rulesets.Hishigata/osu.Game.Rulesets.Hishigata.csproj @@ -10,6 +10,6 @@ osu.Game.Rulesets.Hishigata - +