diff options
| author | EverythingWindows <[email protected]> | 2022-11-16 08:28:22 +0700 |
|---|---|---|
| committer | EverythingWindows <[email protected]> | 2022-11-16 08:28:22 +0700 |
| commit | 415ee1e40d41886cb7ccf23ee004c7fa67dd7418 (patch) | |
| tree | 83a2224b490de0421e8f00b000f014a81a34acb3 /ShiftOS-TheRevival/Functions/InGame/Terminate.vb | |
| parent | 5aceb7cf1efbfa21ab6a56e2e0cde13774217f97 (diff) | |
| download | shiftos-therevival-old-415ee1e40d41886cb7ccf23ee004c7fa67dd7418.tar.gz shiftos-therevival-old-415ee1e40d41886cb7ccf23ee004c7fa67dd7418.tar.bz2 shiftos-therevival-old-415ee1e40d41886cb7ccf23ee004c7fa67dd7418.zip | |
More enhanced code management and DesktopEnvironment experiments
Diffstat (limited to 'ShiftOS-TheRevival/Functions/InGame/Terminate.vb')
| -rw-r--r-- | ShiftOS-TheRevival/Functions/InGame/Terminate.vb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ShiftOS-TheRevival/Functions/InGame/Terminate.vb b/ShiftOS-TheRevival/Functions/InGame/Terminate.vb new file mode 100644 index 0000000..9654185 --- /dev/null +++ b/ShiftOS-TheRevival/Functions/InGame/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 |
