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:
parent
0edfd24410
commit
9e4e85e3e3
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user