diff --git a/osu.Game/Rulesets/RulesetStore.cs b/osu.Game/Rulesets/RulesetStore.cs index de3bb1ac34..6ec89f9dc5 100644 --- a/osu.Game/Rulesets/RulesetStore.cs +++ b/osu.Game/Rulesets/RulesetStore.cs @@ -16,7 +16,7 @@ using osu.Game.Database; namespace osu.Game.Rulesets { - public class RulesetStore : IDisposable + public class RulesetStore : IDisposable, IRulesetStore { private readonly RealmContextFactory realmFactory; @@ -259,8 +259,8 @@ namespace osu.Game.Rulesets #region Implementation of IRulesetStore - IRulesetInfo IRulesetStore.GetRuleset(int id) => GetRuleset(id); - IRulesetInfo IRulesetStore.GetRuleset(string shortName) => GetRuleset(shortName); + IRulesetInfo? IRulesetStore.GetRuleset(int id) => GetRuleset(id); + IRulesetInfo? IRulesetStore.GetRuleset(string shortName) => GetRuleset(shortName); IEnumerable<IRulesetInfo> IRulesetStore.AvailableRulesets => AvailableRulesets; #endregion