mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +08:00
Move current screen check to better place
This commit is contained in:
parent
58db39ec32
commit
66b3945cd6
@ -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.
|
||||
|
@ -660,7 +660,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
logo.Action = () =>
|
||||
{
|
||||
FinaliseSelection();
|
||||
if (this.IsCurrentScreen())
|
||||
FinaliseSelection();
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user