mirror of
https://github.com/ppy/osu.git
synced 2025-02-05 07:12:54 +08:00
Change how UsingThemedIntro
is set to improve clarity
This commit is contained in:
parent
99b6f0352c
commit
6c18df24ec
@ -115,7 +115,9 @@ namespace osu.Game.Screens.Menu
|
|||||||
if (setInfo == null)
|
if (setInfo == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return (initialBeatmap = beatmaps.GetWorkingBeatmap(setInfo.Beatmaps[0])) != null;
|
initialBeatmap = beatmaps.GetWorkingBeatmap(setInfo.Beatmaps[0]);
|
||||||
|
|
||||||
|
return UsingThemedIntro = initialBeatmap != null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -184,7 +186,6 @@ namespace osu.Game.Screens.Menu
|
|||||||
{
|
{
|
||||||
beatmap.Value = initialBeatmap;
|
beatmap.Value = initialBeatmap;
|
||||||
Track = initialBeatmap.Track;
|
Track = initialBeatmap.Track;
|
||||||
UsingThemedIntro = !initialBeatmap.Track.IsDummyDevice;
|
|
||||||
|
|
||||||
// ensure the track starts at maximum volume
|
// ensure the track starts at maximum volume
|
||||||
musicController.CurrentTrack.FinishTransforms();
|
musicController.CurrentTrack.FinishTransforms();
|
||||||
|
Loading…
Reference in New Issue
Block a user