1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 07:22:55 +08:00

Merge pull request #937 from MrTheMake/intro-track-start-fix

Don't start a beatmap's track until the intro is done playing
This commit is contained in:
Dean Herbert 2017-07-20 09:05:15 +09:00 committed by GitHub
commit a3329fef37

View File

@ -121,6 +121,8 @@ namespace osu.Game.Screens.Menu
Scheduler.AddDelayed(delegate Scheduler.AddDelayed(delegate
{ {
// Only start the current track if it is the menu music. A beatmap's track is started when entering the Main Manu.
if (menuMusic)
track.Start(); track.Start();
LoadComponentAsync(mainMenu = new MainMenu()); LoadComponentAsync(mainMenu = new MainMenu());