Update mock RulesetInfo usage to set OnlineID instead of ID

This commit is contained in:
Dean Herbert
2021-11-22 14:26:24 +09:00
parent e57c343531
commit f283770f34
15 changed files with 49 additions and 49 deletions

View File

@ -183,7 +183,7 @@ namespace osu.Game.Rulesets
{
Name = Description,
ShortName = ShortName,
ID = (this as ILegacyRuleset)?.LegacyID,
OnlineID = (this as ILegacyRuleset)?.LegacyID ?? -1,
InstantiationInfo = GetType().GetInvariantInstantiationInfo(),
Available = true,
};