Remove unnecessary ctor arguments

This commit is contained in:
Dan Balasescu
2022-03-15 12:34:58 +09:00
parent faf145742f
commit daac933498
12 changed files with 16 additions and 19 deletions

View File

@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Catch
{
public override DrawableRuleset CreateDrawableRulesetWith(IBeatmap beatmap, IReadOnlyList<Mod> mods = null) => new DrawableCatchRuleset(this, beatmap, mods);
public override ScoreProcessor CreateScoreProcessor() => new CatchScoreProcessor(this);
public override ScoreProcessor CreateScoreProcessor() => new CatchScoreProcessor();
public override IBeatmapConverter CreateBeatmapConverter(IBeatmap beatmap) => new CatchBeatmapConverter(beatmap, this);

View File

@ -7,8 +7,8 @@ namespace osu.Game.Rulesets.Catch.Scoring
{
public class CatchScoreProcessor : ScoreProcessor
{
public CatchScoreProcessor(CatchRuleset ruleset)
: base(ruleset)
public CatchScoreProcessor()
: base(new CatchRuleset())
{
}