mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Add nullability directive and make variant non-nullable
This commit is contained in:
@ -16,7 +16,7 @@ namespace osu.Game.Rulesets.Configuration
|
||||
{
|
||||
private readonly RealmContextFactory realmFactory;
|
||||
|
||||
private readonly int? variant;
|
||||
private readonly int variant;
|
||||
|
||||
private List<RealmRulesetSetting> databasedSettings = new List<RealmRulesetSetting>();
|
||||
|
||||
@ -31,7 +31,7 @@ namespace osu.Game.Rulesets.Configuration
|
||||
|
||||
rulesetId = ruleset.ID ?? -1;
|
||||
|
||||
this.variant = variant;
|
||||
this.variant = variant ?? 0;
|
||||
|
||||
Load();
|
||||
|
||||
|
Reference in New Issue
Block a user