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:
parent
315a73fb1b
commit
8116a4b6f6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user