1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 19:05:37 +08:00

Fix low-pass filter continuing to take effect after fail animation has already ended

This commit is contained in:
Dean Herbert 2021-10-22 17:02:02 +09:00
parent e0e3d1643b
commit 91cc77407d

View File

@ -106,6 +106,7 @@ namespace osu.Game.Screens.Play
this.TransformBindableTo(trackFreq, 0, duration).OnComplete(_ =>
{
RemoveFilters();
OnComplete?.Invoke();
});
@ -137,6 +138,9 @@ namespace osu.Game.Screens.Play
public void RemoveFilters()
{
if (filters.Parent == null)
return;
RemoveInternal(filters);
filters.Dispose();