mirror of https://github.com/ppy/osu
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:
commit
a3329fef37
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue