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

Fix pressing escape too fast causing multiple exit attempts at song select

This commit is contained in:
Dean Herbert 2018-07-09 18:12:23 +09:00
parent 10cc95427d
commit 09b3375a9d

View File

@ -138,7 +138,11 @@ namespace osu.Game.Screens.Select
Height = filter_height,
FilterChanged = c => Carousel.Filter(c),
Background = { Width = 2 },
Exit = Exit,
Exit = () =>
{
if (IsCurrentScreen)
Exit();
},
},
}
},