Update usages to use IsPlayable instead

This commit is contained in:
Salman Ahmed
2022-03-18 02:11:18 +03:00
parent 51e5dd7d0e
commit f2248ecc08
12 changed files with 19 additions and 16 deletions

View File

@ -30,7 +30,7 @@ namespace osu.Game.Rulesets.Mods
[SettingSource("Adjust pitch", "Should pitch be adjusted with speed")]
public abstract BindableBool AdjustPitch { get; }
public override bool ValidFreeModInMultiplayer => false;
public override bool IsPlayable(ModUsage usage) => usage != ModUsage.MultiplayerFree;
public override Type[] IncompatibleMods => new[] { typeof(ModRateAdjust), typeof(ModAdaptiveSpeed) };