1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-04 00:02:54 +08:00

Fix samples being played too early

This commit is contained in:
Dean Herbert 2020-06-23 13:33:33 +09:00
parent 0933d44ceb
commit b289beca53

View File

@ -39,24 +39,27 @@ namespace osu.Game.Screens.Menu
if (!resuming)
{
welcome?.Play();
pianoReverb?.Play();
Scheduler.AddDelayed(() =>
{
StartTrack();
PrepareMenuLoad();
logo.ScaleTo(1);
logo.FadeIn();
Scheduler.Add(LoadMenu);
}, delay_step_two);
LoadComponentAsync(new WelcomeIntroSequence
{
RelativeSizeAxes = Axes.Both
}, AddInternal);
}, intro =>
{
AddInternal(intro);
welcome?.Play();
pianoReverb?.Play();
Scheduler.AddDelayed(() =>
{
StartTrack();
PrepareMenuLoad();
logo.ScaleTo(1);
logo.FadeIn();
Scheduler.Add(LoadMenu);
}, delay_step_two);
});
}
}