diff --git a/NitroxModel/Serialization/NitroxConfig.cs b/NitroxModel/Serialization/NitroxConfig.cs
index df0cd1a783..2371b4a99a 100644
--- a/NitroxModel/Serialization/NitroxConfig.cs
+++ b/NitroxModel/Serialization/NitroxConfig.cs
@@ -131,12 +131,12 @@ public void Serialize()
/// Ensures updates are properly persisted to the backing config file without overwriting user edits.
///
///
- public void Update(Action config)
+ public void Update(Action config = null)
{
try
{
Deserialize();
- config(this as T);
+ config?.Invoke(this as T);
}
finally
{
diff --git a/NitroxServer/Serialization/ServerConfig.cs b/NitroxServer/Serialization/ServerConfig.cs
index 8bf62aa823..0d0f26e5e0 100644
--- a/NitroxServer/Serialization/ServerConfig.cs
+++ b/NitroxServer/Serialization/ServerConfig.cs
@@ -109,7 +109,7 @@ public string SaveName
public static ServerConfig Load()
{
ServerConfig config = new();
- config.Deserialize();
+ config.Update();
return config;
}
}
diff --git a/NitroxServer/Server.cs b/NitroxServer/Server.cs
index e14915373e..279a3c78b1 100644
--- a/NitroxServer/Server.cs
+++ b/NitroxServer/Server.cs
@@ -133,10 +133,6 @@ public void Stop(bool shouldSave = true)
if (shouldSave)
{
Save();
- if (!serverConfig.ConfigFileExists)
- {
- serverConfig.Serialize();
- }
}
server.Stop();