Skip to content

Commit

Permalink
fixed judgement
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariCalyx committed Jan 9, 2025
1 parent 4d028e2 commit 651e833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WzComparerR2/FrmPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ private void ExecutePatch(string patchFile, string msFolder, bool prePatch, bool
if (patcher.IsKMST1125Format.Value)
{
string[] patchedFileDirectory = part.FileName.Split('\\');
if (part.FileName.StartsWith("Data\\") || part.FileName.EndsWith(".wz") || part.FileName.StartsWith("NxOverlay\\")) patchedFileIndex.Add(part.FileName);
if (part.Type == 1 && (patchedFileDirectory[0] == "Data" || patchedFileDirectory[0] == "NxOverlay")) patchedFileIndex.Add(part.FileName);
if (patchedFileDirectory[0] == "Data")
{
if (!patchedFileSizes.ContainsKey(patchedFileDirectory[1])) patchedFileSizes.Add(patchedFileDirectory[1], 0);
Expand Down

0 comments on commit 651e833

Please sign in to comment.