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.vb15
1 files changed, 15 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb b/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb
new file mode 100644
index 0000000..9654185
--- /dev/null
+++ b/ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb
@@ -0,0 +1,15 @@
+Module Terminate
+ Public Sub TerminateShiftOS()
+ NewLine("Stopping the Window Manager...")
+ StopX()
+ Console_Full()
+ If Strings.OnceInfo(6) = "story" Then
+ NewLine("Saving game...")
+ SaveGame()
+ End If
+ Cursor.Show()
+ NewLine("Shutting down...")
+ ShiftOSMenu.Show()
+ Console.Close()
+ End Sub
+End Module