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

Invert back-to-front logic

This commit is contained in:
Bartłomiej Dach 2020-12-06 18:59:38 +01:00
parent fcd9483ffa
commit f6d15b9757
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,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 && !Looping)
if (wasPlaying && Looping)
Play();
}

View File

@ -159,7 +159,7 @@ namespace osu.Game.Skinning
samplesContainer.Add(sample);
}
if (wasPlaying && !Looping)
if (wasPlaying && Looping)
Play();
}