mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix update output issue
This commit is contained in:
@@ -181,10 +181,6 @@ namespace SabreTools.Features
|
||||
else
|
||||
datHeaders = userInputDat.PopulateUserData(inputFileNames, Filter);
|
||||
|
||||
// Merge all input files and write
|
||||
if (updateMode.HasFlag(UpdateMode.Merge))
|
||||
userInputDat.MergeNoDiff(inputFileNames, OutputDir);
|
||||
|
||||
// Output only DatItems that are duplicated across inputs
|
||||
if (updateMode.HasFlag(UpdateMode.DiffDupesOnly))
|
||||
userInputDat.DiffDuplicates(inputFileNames, OutputDir);
|
||||
@@ -230,6 +226,11 @@ namespace SabreTools.Features
|
||||
updateFields,
|
||||
GetBoolean(features, OnlySameValue));
|
||||
}
|
||||
|
||||
// Merge all input files and write
|
||||
// This has to be last due to the SuperDAT handling
|
||||
if (updateMode.HasFlag(UpdateMode.Merge))
|
||||
userInputDat.MergeNoDiff(inputFileNames, OutputDir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user