1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:57:36 +08:00

Apply similar fix to PoolableSkinnableSound

This commit is contained in:
Dean Herbert 2020-11-22 14:44:39 +09:00
parent 8080fe942c
commit a3b1d14f17

View File

@ -101,7 +101,7 @@ namespace osu.Game.Skinning
sampleContainer.Add(Sample = new DrawableSample(ch) { Looping = Looping });
// Start playback internally for the new sample if the previous one was playing beforehand.
if (wasPlaying)
if (wasPlaying && !Looping)
Play();
}