aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb')
-rw-r--r--ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb11
1 files changed, 7 insertions, 4 deletions
diff --git a/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb b/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb
index 4309452..25dabb2 100644
--- a/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb
+++ b/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb
@@ -1,7 +1,9 @@
Module Terminate
Public Sub TerminateShiftOS()
- NewLine("Stopping the Window Manager...")
- StopG()
+ If IsStartG = True Then
+ NewLine("Stopping the Window Manager...")
+ StopG()
+ End If
Console_Full()
If Strings.OnceInfo(6) = "story" Then
NewLine("Saving game...")
@@ -10,7 +12,8 @@
Cursor.Show()
NewLine("Shutting down...")
ShiftOSMenu.Show()
- Console.Close()
- Shifter.Close()
+ If IsStartG = False Then
+ Console.Close()
+ End If
End Sub
End Module