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