Added -nosettings command line parameter which allows starting Doom Builder with only the default settings (no user settings) but any settings you make will not be saved (to protect your original settings).

This commit is contained in:
codeimp 2010-09-15 19:57:12 +00:00
parent ad111d0aca
commit 0cc92a1fff
3 changed files with 24 additions and 7 deletions

View file

@ -346,7 +346,7 @@ namespace CodeImp.DoomBuilder.Config
// Check if a version number is missing
previousversion = cfg.ReadSetting("currentversion", -1);
if(previousversion == -1)
if(!General.NoSettings && (previousversion == -1))
{
// Remove old configuration and make a new copy
General.WriteLogLine("Program configuration is outdated, new configuration will be copied for local user");