Add nullability directive and make variant non-nullable

This commit is contained in:
Dean Herbert
2021-09-15 17:09:02 +09:00
parent 15e3f95c87
commit a150fb2996
3 changed files with 9 additions and 6 deletions

View File

@ -465,7 +465,7 @@ namespace osu.Game
ValueString = dkb.StringValue,
Key = dkb.Key,
RulesetID = dkb.RulesetID.Value,
Variant = dkb.Variant
Variant = dkb.Variant ?? 0,
});
}
}