From 94e819578e51b4ad8cf30a28531c16d7d72633d5 Mon Sep 17 00:00:00 2001 From: Andrei Zavatski Date: Mon, 24 Jun 2019 01:55:35 +0300 Subject: [PATCH] Finally fix the problem when we can't apply a ruleset in the multi screen because it's disabled --- osu.Game/Screens/Multi/Match/MatchSubScreen.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osu.Game/Screens/Multi/Match/MatchSubScreen.cs b/osu.Game/Screens/Multi/Match/MatchSubScreen.cs index a80056d164..c1bb5e262d 100644 --- a/osu.Game/Screens/Multi/Match/MatchSubScreen.cs +++ b/osu.Game/Screens/Multi/Match/MatchSubScreen.cs @@ -196,7 +196,11 @@ namespace osu.Game.Screens.Multi.Match Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap); Mods.Value = e.NewValue?.RequiredMods?.ToArray() ?? Array.Empty(); if (e.NewValue?.Ruleset != null) + { + Ruleset.Disabled = false; Ruleset.Value = e.NewValue.Ruleset; + Ruleset.Disabled = true; + } } ///