mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 06:47:19 +08:00
Rename method to drop redundant ruleset suffix
This commit is contained in:
parent
1a90fb1ef3
commit
25420af078
@ -393,7 +393,7 @@ namespace osu.Game.Rulesets.Mania
|
||||
return new ManiaFilterCriteria();
|
||||
}
|
||||
|
||||
public override RulesetSetupSection CreateEditorSetupSectionForRuleset() => new ManiaSetupSection();
|
||||
public override RulesetSetupSection CreateEditorSetupSection() => new ManiaSetupSection();
|
||||
}
|
||||
|
||||
public enum PlayfieldType
|
||||
|
@ -308,6 +308,6 @@ namespace osu.Game.Rulesets.Osu
|
||||
};
|
||||
}
|
||||
|
||||
public override RulesetSetupSection CreateEditorSetupSectionForRuleset() => new OsuSetupSection();
|
||||
public override RulesetSetupSection CreateEditorSetupSection() => new OsuSetupSection();
|
||||
}
|
||||
}
|
||||
|
@ -321,6 +321,6 @@ namespace osu.Game.Rulesets
|
||||
/// Can be overridden to add a ruleset-specific section to the editor beatmap setup screen.
|
||||
/// </summary>
|
||||
[CanBeNull]
|
||||
public virtual RulesetSetupSection CreateEditorSetupSectionForRuleset() => null;
|
||||
public virtual RulesetSetupSection CreateEditorSetupSection() => null;
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ namespace osu.Game.Screens.Edit.Setup
|
||||
new DesignSection(),
|
||||
};
|
||||
|
||||
var rulesetSpecificSection = beatmap.BeatmapInfo.Ruleset?.CreateInstance()?.CreateEditorSetupSectionForRuleset();
|
||||
var rulesetSpecificSection = beatmap.BeatmapInfo.Ruleset?.CreateInstance()?.CreateEditorSetupSection();
|
||||
if (rulesetSpecificSection != null)
|
||||
sectionsEnumerable.Add(rulesetSpecificSection);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user