mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:42:54 +08:00
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 System.IO;
|
||||
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 @@ namespace osu.Game.Screens.Menu
|
||||
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
Block a user