Changed ServerSettings cloning to a more reliable approach

This commit is contained in:
Thehx
2015-11-13 05:47:40 +03:00
parent 7b0c9b7bf5
commit 6bd3195c3d
3 changed files with 4 additions and 22 deletions

View File

@@ -118,7 +118,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
Game.Settings.Save();
// Take a copy so that subsequent changes don't affect the server
var settings = new ServerSettings(Game.Settings.Server);
var settings = Game.Settings.Server.Clone();
// Create and join the server
try