Once again disallow DT/etc as allowable mods

This commit is contained in:
smoogipoo 2021-02-01 15:07:56 +09:00
parent b43e529964
commit 0909c73ead

View File

@ -75,6 +75,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
} }
protected override BeatmapDetailArea CreateBeatmapDetailArea() => new PlayBeatmapDetailArea(); protected override BeatmapDetailArea CreateBeatmapDetailArea() => new PlayBeatmapDetailArea();
protected override bool IsValidFreeMod(Mod mod) => base.IsValidFreeMod(mod) && !(mod is ModTimeRamp) && !(mod is ModRateAdjust);
} }
public class FooterButtonFreeMods : FooterButton, IHasCurrentValue<IReadOnlyList<Mod>> public class FooterButtonFreeMods : FooterButton, IHasCurrentValue<IReadOnlyList<Mod>>