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.Beatmaps;
|
||||||
using osu.Game.Configuration;
|
using osu.Game.Configuration;
|
||||||
using osu.Game.IO.Archives;
|
using osu.Game.IO.Archives;
|
||||||
using osu.Game.Overlays;
|
|
||||||
using osu.Game.Screens.Backgrounds;
|
using osu.Game.Screens.Backgrounds;
|
||||||
using osu.Game.Skinning;
|
using osu.Game.Skinning;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
@ -61,9 +60,6 @@ namespace osu.Game.Screens.Menu
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
private AudioManager audio { get; set; }
|
private AudioManager audio { get; set; }
|
||||||
|
|
||||||
[Resolved]
|
|
||||||
private MusicController musicController { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether the <see cref="Track"/> is provided by osu! resources, rather than a user beatmap.
|
/// Whether the <see cref="Track"/> is provided by osu! resources, rather than a user beatmap.
|
||||||
/// Only valid during or after <see cref="LogoArriving"/>.
|
/// Only valid during or after <see cref="LogoArriving"/>.
|
||||||
@ -168,8 +164,8 @@ namespace osu.Game.Screens.Menu
|
|||||||
if (!resuming)
|
if (!resuming)
|
||||||
{
|
{
|
||||||
beatmap.Value = initialBeatmap;
|
beatmap.Value = initialBeatmap;
|
||||||
Track = musicController.CurrentTrack;
|
Track = initialBeatmap.Track;
|
||||||
UsingThemedIntro = !initialBeatmap.LoadTrack().IsDummyDevice;
|
UsingThemedIntro = !initialBeatmap.Track.IsDummyDevice;
|
||||||
|
|
||||||
logo.MoveTo(new Vector2(0.5f));
|
logo.MoveTo(new Vector2(0.5f));
|
||||||
logo.ScaleTo(Vector2.One);
|
logo.ScaleTo(Vector2.One);
|
||||||
|
Loading…
Reference in New Issue
Block a user