mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 20:22:55 +08:00
Fix MusicController raising TrackChanged event twice
This commit is contained in:
parent
b631430a5b
commit
54013790fc
@ -279,6 +279,10 @@ namespace osu.Game.Overlays
|
||||
|
||||
private void changeBeatmap(WorkingBeatmap newWorking)
|
||||
{
|
||||
// The provided beatmap is same as current, no need to do any changes.
|
||||
if (newWorking == current)
|
||||
return;
|
||||
|
||||
var lastWorking = current;
|
||||
|
||||
TrackChangeDirection direction = TrackChangeDirection.None;
|
||||
|
Loading…
Reference in New Issue
Block a user