mirror of
https://github.com/ppy/osu
synced 2025-03-02 01:21:19 +00:00
Disable a few mods by default
This commit is contained in:
parent
5a56e2ba4b
commit
6ff8e8dd37
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user