Fix editor potentially using a track post-disposal

This changes the editor to track the current track as it is *loaded* by
`MusicController`, rather than haphazardly following the current global
`WorkingBeatmap` (with a potentially unloaded track) or relying on local
immediate-load behaviour (as implemented in `ResourcesSection`).
This commit is contained in:
Dean Herbert
2022-08-01 16:30:45 +09:00
parent 2519706ad6
commit 2f60f91a0e
3 changed files with 18 additions and 7 deletions

View File

@ -118,8 +118,6 @@ namespace osu.Game.Screens.Edit.Setup
working.Value.Metadata.AudioFile = destination.Name;
music.ReloadCurrentTrack();
editor?.UpdateClockSource();
return true;
}