From 89dfed83afbb8272388940cd0b4b46b8b066153f Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 27 Jul 2017 12:03:55 -0400 Subject: Hacking UI is coming in. --- ShiftOS.Frontend/Commands.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ShiftOS.Frontend/Commands.cs') 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; } -- cgit v1.2.3