Skip to content

Commit

Permalink
fix changing bundle names causing them not to write
Browse files Browse the repository at this point in the history
  • Loading branch information
nesrak1 committed Apr 2, 2021
1 parent 8b19b9c commit 204cdcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public bool Write(AssetsFileWriter writer, List<BundleReplacer> replacers, Class
for (int i = 0; i < dirInfos.Count; i++)
{
AssetBundleDirectoryInfo06 info = dirInfos[i];
BundleReplacer replacer = replacers.FirstOrDefault(n => n.GetOriginalEntryName() == info.name);
BundleReplacer replacer = replacers.FirstOrDefault(n => n.GetEntryName() == info.name);
if (replacer != null)
{
if (replacer.GetReplacementType() == BundleReplacementType.AddOrModify)
Expand Down

0 comments on commit 204cdcc

Please sign in to comment.