mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix looping not being propagated
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user