mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
Finally fix the problem when we can't apply a ruleset in the multi screen
because it's disabled
This commit is contained in:
parent
60ff497add
commit
94e819578e
@ -196,7 +196,11 @@ namespace osu.Game.Screens.Multi.Match
|
||||
Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
|
||||
Mods.Value = e.NewValue?.RequiredMods?.ToArray() ?? Array.Empty<Mod>();
|
||||
if (e.NewValue?.Ruleset != null)
|
||||
{
|
||||
Ruleset.Disabled = false;
|
||||
Ruleset.Value = e.NewValue.Ruleset;
|
||||
Ruleset.Disabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user