(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

@@ -71,6 +71,8 @@
GameInfo *info = config->GetInfo();
if (info == NULL) return;
config->AnchorUnchangeableSettings();
Backup<CompanyByte> cur_company(_current_company, FILE_LINE);
cur_company.Change(OWNER_DEITY);