mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +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();
|
||||
|
||||
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)
|
||||
Play();
|
||||
|
Loading…
Reference in New Issue
Block a user