Fix Regression causing SaveWorld to always save external actors without checking dirty flag (24511115)

#rb rex.hill, jeanfrancois.dube
[FYI] jamie.dale
#preflight skip

[CL 24663456 by patrick enfedaque in ue5-main branch]
This commit is contained in:
patrick enfedaque
2023-03-15 18:02:13 -04:00
parent 59de2812f2
commit caa09df09a

View File

@@ -922,7 +922,7 @@ static bool SaveWorld(UWorld* World,
if (PackagesToSave.Num())
{
if (!UEditorLoadingAndSavingUtils::SavePackages(PackagesToSave, bCheckDirty && !bNewlyCreated))
if (!UEditorLoadingAndSavingUtils::SavePackages(PackagesToSave, /*bCheckDirty=*/ !bNewlyCreated))
{
FMessageDialog::Open(EAppMsgType::Ok, NSLOCTEXT("UnrealEd", "Error_FailedToSaveHLODLayersPackages", "Failed to save dependant map packages"));
bSuccess = false;