mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:03:08 +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)
|
||||
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;
|
||||
Track = initialBeatmap.Track;
|
||||
UsingThemedIntro = !initialBeatmap.Track.IsDummyDevice;
|
||||
|
||||
// ensure the track starts at maximum volume
|
||||
musicController.CurrentTrack.FinishTransforms();
|
||||
|
Loading…
Reference in New Issue
Block a user