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

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