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
1 changed files with 3 additions and 1 deletions

View File

@ -121,7 +121,9 @@ protected override void OnEntering(Screen last)
Scheduler.AddDelayed(delegate
{
track.Start();
// 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();
LoadComponentAsync(mainMenu = new MainMenu());