mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
Only restart spinning sample if it was not already playing
This commit is contained in:
parent
767c76921f
commit
311f8b7017
@ -130,7 +130,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
{
|
||||
if (tracking.NewValue)
|
||||
{
|
||||
spinningSample?.Play();
|
||||
spinningSample?.Play(!spinningSample.IsPlaying);
|
||||
spinningSample?.VolumeTo(1, 300);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user