1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 14:02:55 +08:00

merged 2 lines

Co-authored-by: Salman Ahmed <email@iisalman.me>
This commit is contained in:
BananeVolante 2020-06-24 14:01:13 +02:00 committed by GitHub
parent 43be75d481
commit 53107973a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,11 +34,10 @@ namespace osu.Game.Screens.Play
if (sampleChannel != null) if (sampleChannel != null)
{ {
pauseLoop = new DrawableSample(sampleChannel) AddInternal(pauseLoop = new DrawableSample(sampleChannel)
{ {
Looping = true, Looping = true,
}; });
AddInternal(pauseLoop);
pauseLoop?.Play(); pauseLoop?.Play();
} }
} }