1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-14 06:33:17 +08:00

Fix multiplayer spectator crash due to track potentially not being loaded in time

This commit is contained in:
Dean Herbert 2022-07-10 23:53:06 +09:00
parent 315a73fb1b
commit 8116a4b6f6

View File

@ -314,6 +314,9 @@ namespace osu.Game.Screens.OnlinePlay.Match
public override void OnSuspending(ScreenTransitionEvent e)
{
// Should be a noop in most cases, but let's ensure beyond doubt that the beatmap is in a correct state.
updateWorkingBeatmap();
onLeaving();
base.OnSuspending(e);
}