Skip to content

Commit

Permalink
Fix potential crash
Browse files Browse the repository at this point in the history
  • Loading branch information
stlnkm committed Oct 16, 2023
1 parent 678427d commit d161cf4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,10 @@ FPatchVersionDiff UFlibHotPatcherCoreHelper::DiffPatchVersionWithPatchSetting(co
}
for(const auto& Platform:PatchSetting.GetPakTargetPlatforms())
{
VersionDiffInfo.PlatformExternDiffInfo.Find(Platform)->DeleteExternalFiles.Empty();
if (auto PlatExtDiffInfo = VersionDiffInfo.PlatformExternDiffInfo.Find(Platform))
{
PlatExtDiffInfo->DeleteExternalFiles.Empty();
}
}
}

Expand Down

0 comments on commit d161cf4

Please sign in to comment.