1
0
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:
Andrei Zavatski 2019-06-24 01:55:35 +03:00
parent 60ff497add
commit 94e819578e

View File

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