- Fixed: Do not write the config file if DoGameSetup() has not been called yet.
SVN r3653 (trunk)
This commit is contained in:
parent
1389bc08ca
commit
d6cd9b430d
3 changed files with 14 additions and 1 deletions
|
|
@ -83,7 +83,8 @@ FGameConfigFile::FGameConfigFile ()
|
|||
FString user_docs, user_app_support, local_app_support;
|
||||
#endif
|
||||
FString pathname;
|
||||
|
||||
|
||||
OkayToWrite = false; // Do not allow saving of the config before DoGameSetup()
|
||||
bMigrating = false;
|
||||
pathname = GetConfigPath (true);
|
||||
ChangePathName (pathname);
|
||||
|
|
@ -441,6 +442,7 @@ void FGameConfigFile::DoGameSetup (const char *gamename)
|
|||
}
|
||||
}
|
||||
}
|
||||
OkayToWrite = true;
|
||||
}
|
||||
|
||||
void FGameConfigFile::ReadNetVars ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue