Fix error when entering multiplayer game in different ruleset

This commit is contained in:
Dean Herbert 2019-12-14 00:42:31 +09:00
parent a904660ed3
commit b94d5bf82e

View File

@ -249,7 +249,8 @@ namespace osu.Game
foreach (ModType type in Enum.GetValues(typeof(ModType)))
dict[type] = r.NewValue?.CreateInstance().GetModsFor(type).ToList();
SelectedMods.Value = Array.Empty<Mod>();
if (!SelectedMods.Disabled)
SelectedMods.Value = Array.Empty<Mod>();
AvailableMods.Value = dict;
}