mirror of https://github.com/ppy/osu
Resolve ruleset from store after loading tournament ladder
This commit is contained in:
parent
f9814a66cb
commit
77b354bfba
|
@ -66,7 +66,9 @@ private void readBracket()
|
|||
}
|
||||
|
||||
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