mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +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,6 +660,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
logo.Action = () =>
|
||||
{
|
||||
if (this.IsCurrentScreen())
|
||||
FinaliseSelection();
|
||||
return false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user