mirror of
https://github.com/ppy/osu
synced 2025-01-11 08:39:31 +00:00
Fix tournament client crashing due to null ruleset
This commit is contained in:
parent
aee32a4ebe
commit
14277d714e
@ -129,6 +129,9 @@ namespace osu.Game.Tournament
|
||||
ladder = new LadderInfo();
|
||||
}
|
||||
|
||||
if (ladder.Ruleset.Value == null)
|
||||
ladder.Ruleset.Value = RulesetStore.AvailableRulesets.First();
|
||||
|
||||
Ruleset.BindTo(ladder.Ruleset);
|
||||
|
||||
dependencies.Cache(ladder);
|
||||
|
Loading…
Reference in New Issue
Block a user