1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 07:19:54 +08:00

Merge pull request #2980 from peppy/fix-exit-race-condition

Fix pressing escape too fast causing multiple exit attempts at song select
This commit is contained in:
Dean Herbert
2018-07-09 19:10:41 +09:00
committed by GitHub
Unverified
+5 -1
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();
},
},
}
},