1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 16:32:54 +08:00

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
No known key found for this signature in database

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();
} }