Add missing return in early exit scenario (MakeCurrent isn't compatible with the following Exit)

This commit is contained in:
Dean Herbert
2021-02-15 14:03:41 +09:00
parent ec37e1602d
commit 1aea840504

View File

@ -493,6 +493,7 @@ namespace osu.Game.Screens.Play
// we want to give the user what they want, so forcefully return to this screen (to proceed with the upwards exit process).
ValidForResume = false;
this.MakeCurrent();
return;
}
if (showDialogFirst)