mirror of
https://github.com/ppy/osu
synced 2025-01-22 05:43:14 +00:00
Remove stray call to LoadTrack that was forgotten
This commit is contained in:
parent
4239e9f684
commit
f63d1ba612
@ -12,7 +12,6 @@ using osu.Framework.Screens;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Configuration;
|
||||
using osu.Game.IO.Archives;
|
||||
using osu.Game.Overlays;
|
||||
using osu.Game.Screens.Backgrounds;
|
||||
using osu.Game.Skinning;
|
||||
using osuTK;
|
||||
@ -61,9 +60,6 @@ namespace osu.Game.Screens.Menu
|
||||
[Resolved]
|
||||
private AudioManager audio { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private MusicController musicController { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the <see cref="Track"/> is provided by osu! resources, rather than a user beatmap.
|
||||
/// Only valid during or after <see cref="LogoArriving"/>.
|
||||
@ -168,8 +164,8 @@ namespace osu.Game.Screens.Menu
|
||||
if (!resuming)
|
||||
{
|
||||
beatmap.Value = initialBeatmap;
|
||||
Track = musicController.CurrentTrack;
|
||||
UsingThemedIntro = !initialBeatmap.LoadTrack().IsDummyDevice;
|
||||
Track = initialBeatmap.Track;
|
||||
UsingThemedIntro = !initialBeatmap.Track.IsDummyDevice;
|
||||
|
||||
logo.MoveTo(new Vector2(0.5f));
|
||||
logo.ScaleTo(Vector2.One);
|
||||
|
Loading…
Reference in New Issue
Block a user