Make ruleset id non-nullable

This commit is contained in:
Dean Herbert
2021-09-15 17:01:31 +09:00
parent 80ecf81be3
commit dcfe9c67e3
3 changed files with 14 additions and 8 deletions

View File

@ -458,11 +458,13 @@ namespace osu.Game
{
foreach (var dkb in existingSettings)
{
if (dkb.RulesetID == null) continue;
usage.Realm.Add(new RealmRulesetSetting
{
ValueString = dkb.StringValue,
Key = dkb.Key,
RulesetID = dkb.RulesetID,
RulesetID = dkb.RulesetID.Value,
Variant = dkb.Variant
});
}