1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:07:25 +08:00

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,8 +152,10 @@ namespace osu.Game.Screens.Menu
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.
if (UsingThemedIntro)
Track.Restart();
if (!UsingThemedIntro)
return;
Track.Restart();
if (menuMusicLoop.Value)
Track.Looping = true;
}