diff options
Diffstat (limited to 'ShiftOS.Frontend/Commands.cs')
| -rw-r--r-- | ShiftOS.Frontend/Commands.cs | 3 |
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; } |
