mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14: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 (playerLoader != null) return false;
|
||||||
|
|
||||||
if (!this.IsCurrentScreen())
|
|
||||||
return false;
|
|
||||||
|
|
||||||
modsAtGameplayStart = Mods.Value;
|
modsAtGameplayStart = Mods.Value;
|
||||||
|
|
||||||
// Ctrl+Enter should start map with autoplay enabled.
|
// Ctrl+Enter should start map with autoplay enabled.
|
||||||
|
@ -660,6 +660,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
logo.Action = () =>
|
logo.Action = () =>
|
||||||
{
|
{
|
||||||
|
if (this.IsCurrentScreen())
|
||||||
FinaliseSelection();
|
FinaliseSelection();
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user