1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-12 18:37:46 +08:00

Update exception type

This commit is contained in:
Dean Herbert 2018-06-29 20:13:29 +09:00
parent 527d7c29f2
commit 34fef3caba

View File

@ -44,7 +44,7 @@ namespace osu.Game.Screens
{ {
base.Push(screen); base.Push(screen);
} }
catch (InvalidOperationException) catch (ScreenAlreadyExitedException)
{ {
// screen may have exited before the push was successful. // screen may have exited before the push was successful.
} }