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:
parent
ece0d41225
commit
5bbb650f22
@ -1 +1 @@
|
||||
Subproject commit 4d01b4fe32394df3b621a1a72af3259577e8423d
|
||||
Subproject commit 78832473ef4aa6297bea46ee879cad00dcd462ab
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user