1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 00:47:24 +08:00

Fix incorrect delay for non-theme music on "welcome" intro

This commit is contained in:
Dean Herbert 2022-10-12 14:50:04 +09:00
parent 9ccfac7bd1
commit d6998c810c

View File

@ -78,13 +78,17 @@ namespace osu.Game.Screens.Menu
if (reverbChannel != null)
intro.LogoVisualisation.AddAmplitudeSource(reverbChannel);
Scheduler.AddDelayed(() =>
{
if (!UsingThemedIntro)
StartTrack();
// this classic intro loops forever.
Scheduler.AddDelayed(() =>
{
if (UsingThemedIntro)
{
StartTrack();
// this classic intro loops forever.
Track.Looping = true;
}
const float fade_in_time = 200;