1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +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,7 +152,9 @@ 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)
if (!UsingThemedIntro)
return;
Track.Restart();
if (menuMusicLoop.Value)
Track.Looping = true;