mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +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
|
||||
{
|
||||
spinningSample?.VolumeTo(0, 300).Finally(_ => spinningSample.Stop());
|
||||
spinningSample?.VolumeTo(0, 300).OnComplete(_ => spinningSample.Stop());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user