Fix crash when clicking osu! logo in song select immediately after exiting

Closes https://github.com/ppy/osu/issues/26415.

The crash report with incomplete log was backwards, the exit comes
first. Sentry events and the reproducing test in
8a87301c55 confirm this.
This commit is contained in:
Bartłomiej Dach 2024-01-08 21:37:25 +01:00
parent 8a87301c55
commit 58db39ec32
No known key found for this signature in database

View File

@ -92,6 +92,9 @@ namespace osu.Game.Screens.Select
{
if (playerLoader != null) return false;
if (!this.IsCurrentScreen())
return false;
modsAtGameplayStart = Mods.Value;
// Ctrl+Enter should start map with autoplay enabled.