1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 18:10:40 +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
Unverified
parent 0edfd24410
commit 9e4e85e3e3
+1 -6
View File
@@ -154,14 +154,9 @@ namespace osu.Game.Screens.Play
Background?.FadeColour(OsuColour.Gray(0.3f), 60);
}
public void StopSample()
{
failSampleChannel?.Stop();
}
public void StopSampleAndRemoveFilters()
{
StopSample();
failSampleChannel?.Stop();
removeFilters();
}