mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
make SelectTypes set mods instead of only adding new ones
also made the method actually take types as parameter to make it consistent
This commit is contained in:
@ -76,7 +76,7 @@ namespace osu.Game.Overlays.Mods
|
||||
private void selectedModsChanged(IEnumerable<Mod> obj)
|
||||
{
|
||||
foreach (ModSection section in ModSectionsContainer.Children)
|
||||
section.SelectTypes(obj);
|
||||
section.SelectTypes(obj.Select(m => m.GetType()).ToList());
|
||||
|
||||
updateMods();
|
||||
}
|
||||
|
Reference in New Issue
Block a user