Fix multiplayer crashing when exiting from lounge

This commit is contained in:
smoogipoo 2019-01-30 23:56:03 +09:00
parent 82dc7f39a3
commit 5e78f51e24

View File

@ -193,7 +193,10 @@ namespace osu.Game.Screens.Multi
this.Delay(WaveContainer.DISAPPEAR_DURATION).FadeOut();
cancelLooping();
loungeSubScreen.MakeCurrent();
if (screenStack.CurrentScreen != null)
loungeSubScreen.MakeCurrent();
updatePollingRate(isIdle.Value);
// the wave overlay transition takes longer than expected to run.