mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 23:03:02 +08:00
Use OnComplete instead of Finally to avoid potentially stopping on aborted transforms
This commit is contained in:
parent
311f8b7017
commit
14b3323682
@ -135,7 +135,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
spinningSample?.VolumeTo(0, 300).Finally(_ => spinningSample.Stop());
|
spinningSample?.VolumeTo(0, 300).OnComplete(_ => spinningSample.Stop());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user