(svn r25592) -Fix [FS#5644]: Changing the script difficulty level in-game would also change the settings using the default even though they were not allowed to change in-game

This commit is contained in:
rubidium
2013-07-12 18:54:27 +00:00
parent 11f756ac97
commit 81ce9ad189
4 changed files with 22 additions and 0 deletions

View File

@@ -47,6 +47,7 @@
/* Load default data and store the name in the settings */
config->Change(info->GetName(), -1, false, true);
}
config->AnchorUnchangeableSettings();
Backup<CompanyByte> cur_company(_current_company, company, FILE_LINE);
Company *c = Company::Get(company);