Inline StopSample() into StopSampleAndRemoveFilters()

The first method no longer has any callers except for the second one.
This commit is contained in:
Bartłomiej Dach
2023-01-22 09:26:01 +01:00
parent 0edfd24410
commit 9e4e85e3e3

View File

@ -154,14 +154,9 @@ namespace osu.Game.Screens.Play
Background?.FadeColour(OsuColour.Gray(0.3f), 60); Background?.FadeColour(OsuColour.Gray(0.3f), 60);
} }
public void StopSample()
{
failSampleChannel?.Stop();
}
public void StopSampleAndRemoveFilters() public void StopSampleAndRemoveFilters()
{ {
StopSample(); failSampleChannel?.Stop();
removeFilters(); removeFilters();
} }