Skip to content

Commit

Permalink
fix crash issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hxhb committed Sep 2, 2022
1 parent a6d774a commit fa3a927
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ namespace ReleaseWorker
{
AllConfigPlatformSet.Add(PlatformsPakListFile.TargetPlatform);
}

AddProjectDirToTarget = AllConfigPlatformSet.Num() > 1 ? ETargetPlatform::AllPlatforms : AllConfigPlatformSet.Array()[0];
if(AllConfigPlatformSet.Num())
{
AddProjectDirToTarget = AllConfigPlatformSet.Num() > 1 ? ETargetPlatform::AllPlatforms : AllConfigPlatformSet.Array()[0];
}

UFlibHotPatcherCoreHelper::ImportProjectNotAssetDir(Context.GetSettingObject()->GetAddExternAssetsToPlatform(),AddProjectDirToTarget);
}
Expand Down

0 comments on commit fa3a927

Please sign in to comment.