mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Move incompatibility icon logic to local player mod select overlays
This commit is contained in:
@ -14,5 +14,17 @@ namespace osu.Game.Overlays.Mods
|
||||
foreach (var section in ModSectionsContainer.Children)
|
||||
section.DeselectTypes(mod.IncompatibleMods, true, mod);
|
||||
}
|
||||
|
||||
protected override ModSection CreateModSection(ModType type) => new LocalPlayerModSection(type);
|
||||
|
||||
private class LocalPlayerModSection : ModSection
|
||||
{
|
||||
public LocalPlayerModSection(ModType type)
|
||||
: base(type)
|
||||
{
|
||||
}
|
||||
|
||||
protected override ModButton CreateModButton(Mod mod) => new LocalPlayerModButton(mod);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user