1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Move current screen check to better place

This commit is contained in:
Bartłomiej Dach 2024-01-09 10:44:30 +01:00
parent 58db39ec32
commit 66b3945cd6
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -92,9 +92,6 @@ 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.

View File

@ -660,6 +660,7 @@ namespace osu.Game.Screens.Select
logo.Action = () =>
{
if (this.IsCurrentScreen())
FinaliseSelection();
return false;
};