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:
parent
fcd9483ffa
commit
f6d15b9757
@ -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();
|
||||
}
|
||||
|
||||
|
@ -159,7 +159,7 @@ namespace osu.Game.Skinning
|
||||
samplesContainer.Add(sample);
|
||||
}
|
||||
|
||||
if (wasPlaying && !Looping)
|
||||
if (wasPlaying && Looping)
|
||||
Play();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user