Replace hardcoded overrides with the newly introduced Mod properties

This commit is contained in:
Salman Ahmed
2022-03-17 03:40:40 +03:00
parent d90a334853
commit 187059a37f
4 changed files with 8 additions and 2 deletions

View File

@ -30,6 +30,8 @@ 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 Type[] IncompatibleMods => new[] { typeof(ModRateAdjust), typeof(ModAdaptiveSpeed) };
public override string SettingDescription => $"{InitialRate.Value:N2}x to {FinalRate.Value:N2}x";