mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +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)
|
if (tracking.NewValue)
|
||||||
{
|
{
|
||||||
spinningSample?.Play();
|
spinningSample?.Play(!spinningSample.IsPlaying);
|
||||||
spinningSample?.VolumeTo(1, 300);
|
spinningSample?.VolumeTo(1, 300);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user