aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Commands.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-27 12:03:55 -0400
committerMichael <[email protected]>2017-07-27 12:03:55 -0400
commit89dfed83afbb8272388940cd0b4b46b8b066153f (patch)
tree79e9e22d4c8a5d8274db55ed1c54dc17d58c5db5 /ShiftOS.Frontend/Commands.cs
parentcac4e1f9a7af1c92e4bd61a42fb48359df6eeaec (diff)
downloadshiftos_thereturn-89dfed83afbb8272388940cd0b4b46b8b066153f.tar.gz
shiftos_thereturn-89dfed83afbb8272388940cd0b4b46b8b066153f.tar.bz2
shiftos_thereturn-89dfed83afbb8272388940cd0b4b46b8b066153f.zip
Hacking UI is coming in.
Diffstat (limited to 'ShiftOS.Frontend/Commands.cs')
-rw-r--r--ShiftOS.Frontend/Commands.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/Commands.cs b/ShiftOS.Frontend/Commands.cs
index f3f81aa..1bf2d14 100644
--- a/ShiftOS.Frontend/Commands.cs
+++ b/ShiftOS.Frontend/Commands.cs
@@ -120,7 +120,8 @@ namespace ShiftOS.Frontend
[Command("shutdown", description = "{DESC_SHUTDOWN}")]
public static bool Shutdown()
{
- SaveSystem.SaveGame();
+ if(Objects.ShiftFS.Utils.Mounts.Count > 0)
+ SaveSystem.SaveGame();
AppearanceManager.Exit();
return true;
}