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:
parent
0933d44ceb
commit
b289beca53
@ -39,24 +39,27 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
if (!resuming)
|
if (!resuming)
|
||||||
{
|
{
|
||||||
welcome?.Play();
|
|
||||||
pianoReverb?.Play();
|
|
||||||
|
|
||||||
Scheduler.AddDelayed(() =>
|
|
||||||
{
|
|
||||||
StartTrack();
|
|
||||||
PrepareMenuLoad();
|
|
||||||
|
|
||||||
logo.ScaleTo(1);
|
|
||||||
logo.FadeIn();
|
|
||||||
|
|
||||||
Scheduler.Add(LoadMenu);
|
|
||||||
}, delay_step_two);
|
|
||||||
|
|
||||||
LoadComponentAsync(new WelcomeIntroSequence
|
LoadComponentAsync(new WelcomeIntroSequence
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both
|
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);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user