mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Mark CreateConfig()
return type as nullable because it's not required all ruleset to implement.
Also, remove nullable disable annotation for all using classes. Setting store can be nullable because `RulesetConfigManager()` can accept null setting store.
This commit is contained in:
@ -252,7 +252,7 @@ namespace osu.Game.Rulesets
|
||||
/// Creates the <see cref="IRulesetConfigManager"/> for this <see cref="Ruleset"/>.
|
||||
/// </summary>
|
||||
/// <param name="settings">The <see cref="SettingsStore"/> to store the settings.</param>
|
||||
public virtual IRulesetConfigManager CreateConfig(SettingsStore settings) => null;
|
||||
public virtual IRulesetConfigManager? CreateConfig(SettingsStore? settings) => null;
|
||||
|
||||
/// <summary>
|
||||
/// A unique short name to reference this ruleset in online requests.
|
||||
|
Reference in New Issue
Block a user