mirror of https://github.com/ppy/osu
Don't attempt to use virtual track for intro sequence clock
This commit is contained in:
parent
5f6c35a577
commit
72ada020a2
|
@ -7,6 +7,7 @@
|
|||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Audio;
|
||||
using osu.Framework.Audio.Sample;
|
||||
using osu.Framework.Audio.Track;
|
||||
using osu.Framework.Screens;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
|
@ -61,7 +62,7 @@ protected override void LogoArriving(OsuLogo logo, bool resuming)
|
|||
LoadComponentAsync(new TrianglesIntroSequence(logo, background)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Clock = new FramedClock(MenuMusic.Value ? Track : null),
|
||||
Clock = new FramedClock(MenuMusic.Value && !(Track is TrackVirtual) ? Track : null),
|
||||
LoadMenu = LoadMenu
|
||||
}, t =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue