Improve intro timings when not using osu! theme

Roughly as proposed in https://github.com/ppy/osu/discussions/19687.
This commit is contained in:
Dean Herbert
2022-08-16 18:09:04 +09:00
parent 26568f7ac9
commit 5ac314077a
3 changed files with 27 additions and 13 deletions

View File

@ -272,11 +272,17 @@ namespace osu.Game.Screens.Menu
FadeInBackground(200);
}
protected virtual void StartTrack()
protected void StartTrack()
{
// Only start the current track if it is the menu music. A beatmap's track is started when entering the Main Menu.
if (UsingThemedIntro)
Track.Start();
var drawableTrack = musicController.CurrentTrack;
drawableTrack.Start();
if (!UsingThemedIntro)
{
drawableTrack.VolumeTo(0).Then()
.VolumeTo(1, 2000, Easing.OutQuint);
}
}
protected override void LogoArriving(OsuLogo logo, bool resuming)