Update MainForm.cs

This commit is contained in:
Bitl 2019-11-24 10:11:28 -07:00
parent eaa8fb6c30
commit 97bee41759
1 changed files with 4 additions and 1 deletions

View File

@ -367,8 +367,11 @@ namespace NovetusLauncher
}
void MainFormClose(object sender, CancelEventArgs e)
{
if (GlobalVars.LocalPlayMode != true)
{
WriteConfigValues();
}
DiscordRpc.Shutdown();
if (GlobalVars.IsWebServerOn == true)
{