You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Stop writing out saved ini files after reloading ini after writing a default property (the timing of the write was getting the default and saved out of sync)
#jira UE-183508, UE-166236 #preflight https://horde.devtools.epicgames.com/job/64404d75a35280ed4f925b2d [CL 25120275 by josh adams in ue5-main branch]
This commit is contained in:
@@ -3218,7 +3218,10 @@ void UObject::UpdateSinglePropertyInConfigFile(const FProperty* InProperty, cons
|
||||
// then we don't want to touch GConfig
|
||||
if (OverridePlatform.Len() == 0)
|
||||
{
|
||||
FConfigContext::ForceReloadIntoGConfig().Load(*GetClass()->ClassConfigName.ToString());
|
||||
FConfigContext Context = FConfigContext::ForceReloadIntoGConfig();
|
||||
// don't write the Saved out, as we just finished writing what we needed
|
||||
Context.bWriteDestIni = false;
|
||||
Context.Load(*GetClass()->ClassConfigName.ToString());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user