mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Merge branch 'master' into adjustable-rate-mods
This commit is contained in:
commit
bc397a4f1d
@ -246,7 +246,8 @@ namespace osu.Game
|
||||
{
|
||||
var dict = new Dictionary<ModType, IReadOnlyList<Mod>>();
|
||||
|
||||
foreach (ModType type in Enum.GetValues(typeof(ModType))) dict[type] = r.NewValue?.CreateInstance().GetModsFor(type).ToList();
|
||||
foreach (ModType type in Enum.GetValues(typeof(ModType)))
|
||||
dict[type] = r.NewValue?.CreateInstance().GetModsFor(type).ToList();
|
||||
|
||||
SelectedMods.Value = Array.Empty<Mod>();
|
||||
AvailableMods.Value = dict;
|
||||
|
Loading…
Reference in New Issue
Block a user