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
1 changed files with 3 additions and 1 deletions

View File

@ -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;