mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 05:53:10 +08:00
Merge pull request #20720 from peppy/fix-welcome-intro-delay
Fix incorrect delay for non-theme music on "welcome" intro
This commit is contained in:
commit
300888b423
@ -78,13 +78,17 @@ namespace osu.Game.Screens.Menu
|
|||||||
if (reverbChannel != null)
|
if (reverbChannel != null)
|
||||||
intro.LogoVisualisation.AddAmplitudeSource(reverbChannel);
|
intro.LogoVisualisation.AddAmplitudeSource(reverbChannel);
|
||||||
|
|
||||||
Scheduler.AddDelayed(() =>
|
if (!UsingThemedIntro)
|
||||||
{
|
|
||||||
StartTrack();
|
StartTrack();
|
||||||
|
|
||||||
// this classic intro loops forever.
|
Scheduler.AddDelayed(() =>
|
||||||
|
{
|
||||||
if (UsingThemedIntro)
|
if (UsingThemedIntro)
|
||||||
|
{
|
||||||
|
StartTrack();
|
||||||
|
// this classic intro loops forever.
|
||||||
Track.Looping = true;
|
Track.Looping = true;
|
||||||
|
}
|
||||||
|
|
||||||
const float fade_in_time = 200;
|
const float fade_in_time = 200;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user