Change IApplicableToTrack to receive adjustable component instead

This commit is contained in:
Salman Ahmed
2022-05-10 18:01:15 +03:00
parent bbbecbb6b7
commit 4f5001704e
7 changed files with 10 additions and 16 deletions

View File

@ -41,7 +41,7 @@ namespace osu.Game.Rulesets.Mods
}, true);
}
public override void ApplyToTrack(ITrack track)
public override void ApplyToTrack(IAdjustableAudioComponent track)
{
// base.ApplyToTrack() intentionally not called (different tempo adjustment is applied)
track.AddAdjustment(AdjustableProperty.Frequency, freqAdjust);