1
0
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:
Dean Herbert 2021-01-15 17:18:15 +09:00
parent 311f8b7017
commit 14b3323682

View File

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