1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 05:32:57 +08:00

Replaced system.exit with saver alternative

This commit is contained in:
Jan-Eric Waclawski 2016-08-27 16:47:34 +02:00
parent ece0d41225
commit 5bbb650f22
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 4d01b4fe32394df3b621a1a72af3259577e8423d
Subproject commit 78832473ef4aa6297bea46ee879cad00dcd462ab

View File

@ -264,9 +264,9 @@ namespace osu.Game.GameModes.Menu
{
//if (OsuGame.IdleTime > 6000 && State != MenuState.Exit)
// State = MenuState.Initial;
if (state == MenuState.Exit && osuLogo.Alpha <= 0)
System.Environment.Exit(1);
if (state == MenuState.Exit && osuLogo.Alpha <= 0)
Game.Exit();
iconFacade.Width = osuLogo.SizeForFlow * 0.5f;
base.Update();