Resolve ruleset from store after loading tournament ladder

This commit is contained in:
Dean Herbert 2021-07-30 02:12:03 +09:00
parent f9814a66cb
commit 77b354bfba

View File

@ -66,7 +66,9 @@ namespace osu.Game.Tournament
}
ladder ??= new LadderInfo();
ladder.Ruleset.Value ??= RulesetStore.AvailableRulesets.First();
ladder.Ruleset.Value = RulesetStore.GetRuleset(ladder.Ruleset.Value?.ShortName)
?? RulesetStore.AvailableRulesets.First();
bool addedInfo = false;