mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00:00
Fix error when entering multiplayer game in different ruleset
This commit is contained in:
parent
a904660ed3
commit
b94d5bf82e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user