Make sure it only loops for themed intros if true

This commit is contained in:
Shivam
2020-06-29 00:54:06 +02:00
parent ffbce61ca8
commit 5689f27987

View File

@ -152,7 +152,9 @@ namespace osu.Game.Screens.Menu
protected void StartTrack() protected void StartTrack()
{ {
// Only start the current track if it is the menu music. A beatmap's track is started when entering the Main Menu. // Only start the current track if it is the menu music. A beatmap's track is started when entering the Main Menu.
if (UsingThemedIntro) if (!UsingThemedIntro)
return;
Track.Restart(); Track.Restart();
if (menuMusicLoop.Value) if (menuMusicLoop.Value)
Track.Looping = true; Track.Looping = true;