diff options
| author | EverythingWindows <[email protected]> | 2022-11-22 05:42:55 +0700 |
|---|---|---|
| committer | EverythingWindows <[email protected]> | 2022-11-22 05:42:55 +0700 |
| commit | 804f2b7f7e952c73967511cfd397e33b71fff5ad (patch) | |
| tree | b6f096e7db49828b511d3fca5e122a935e9478b0 /ShiftOS-TheRevival/Functions/InGame | |
| parent | a043f16287f3805bb208f1816a42ecf1d2d8d1d7 (diff) | |
| download | shiftos-therevival-old-804f2b7f7e952c73967511cfd397e33b71fff5ad.tar.gz shiftos-therevival-old-804f2b7f7e952c73967511cfd397e33b71fff5ad.tar.bz2 shiftos-therevival-old-804f2b7f7e952c73967511cfd397e33b71fff5ad.zip | |
not-quite-finish-but-functional DuWM
Diffstat (limited to 'ShiftOS-TheRevival/Functions/InGame')
| -rw-r--r-- | ShiftOS-TheRevival/Functions/InGame/SystemManager/Terminate.vb | 11 |
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 |
