mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Disable a few mods by default
This commit is contained in:
@ -18,8 +18,16 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
{
|
||||
protected override bool Stacked => false;
|
||||
|
||||
public new Func<Mod, bool> IsValidMod
|
||||
{
|
||||
get => base.IsValidMod;
|
||||
set => base.IsValidMod = m => m.HasImplementation && !m.RequiresConfiguration && !(m is ModAutoplay) && value(m);
|
||||
}
|
||||
|
||||
public FreeModSelectOverlay()
|
||||
{
|
||||
IsValidMod = m => true;
|
||||
|
||||
CustomiseButton.Alpha = 0;
|
||||
MultiplierSection.Alpha = 0;
|
||||
DeselectAllButton.Alpha = 0;
|
||||
|
Reference in New Issue
Block a user