mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 13:23:05 +08:00
Fix looping not being propagated
This commit is contained in:
parent
8920534a25
commit
812d5d59b1
@ -115,7 +115,12 @@ namespace osu.Game.Skinning
|
|||||||
SamplesContainer.Clear();
|
SamplesContainer.Clear();
|
||||||
|
|
||||||
foreach (var s in samples)
|
foreach (var s in samples)
|
||||||
SamplesContainer.Add(pooledProvider?.GetPooledSample(s) ?? new PoolableSkinnableSample(s));
|
{
|
||||||
|
var sample = pooledProvider?.GetPooledSample(s) ?? new PoolableSkinnableSample(s);
|
||||||
|
sample.Looping = Looping;
|
||||||
|
|
||||||
|
SamplesContainer.Add(sample);
|
||||||
|
}
|
||||||
|
|
||||||
if (wasPlaying)
|
if (wasPlaying)
|
||||||
Play();
|
Play();
|
||||||
|
Loading…
Reference in New Issue
Block a user