mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 06:42:56 +08:00
Merge pull request #14059 from peppy/tournament-lookup-ruleset
Resolve ruleset from store after loading tournament ladder
This commit is contained in:
commit
431be5b5c1
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user