mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-06-02 09:51:47 +00:00
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:
parent
ad111d0aca
commit
0cc92a1fff
3 changed files with 24 additions and 7 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue