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);
}
catch (InvalidOperationException)
catch (ScreenAlreadyExitedException)
{
// screen may have exited before the push was successful.
}