1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 13:32:54 +08:00

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)