mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:23:00 +08:00
Fix background track restarting twice when exiting song select with no active selection
This commit is contained in:
parent
a1b17c4468
commit
a201339f9c
@ -814,6 +814,9 @@ namespace osu.Game.Screens.Select
|
||||
if (!ControlGlobalMusic)
|
||||
return;
|
||||
|
||||
if (Beatmap.Value is DummyWorkingBeatmap)
|
||||
return;
|
||||
|
||||
ITrack track = music.CurrentTrack;
|
||||
|
||||
bool isNewTrack = !lastTrack.TryGetTarget(out var last) || last != track;
|
||||
|
Loading…
Reference in New Issue
Block a user