Override UserSettings from the commandline

This commit is contained in:
Paul Chote
2010-07-03 11:26:27 +12:00
committed by Chris Forbes
parent 4671e6b261
commit 6359674d27
2 changed files with 10 additions and 1 deletions

View File

@@ -612,7 +612,9 @@ namespace OpenRA
if (FileSystem.Exists(settingsFile))
FieldLoader.Load(Settings,
new IniFile(FileSystem.Open(settingsFile)).GetSection("Settings"));
FileSystem.UnmountAll();
FileSystem.UnmountAll();
Settings.AddSettings(settings);
}
static bool quit;