[DatTools] Forgot one place for flag usage

This commit is contained in:
Matt Nadareski
2016-08-26 13:44:05 -07:00
parent 3537bcca46
commit f5c49b6af9

View File

@@ -2066,12 +2066,20 @@ namespace SabreTools.Helper
logger.User("Outputting all created DATs");
// Output the difflist (a-b)+(b-a) diff
if ((diff & DiffMode.NoDupes) != 0)
{
Output.WriteDatfile(outerDiffData, outdir, logger);
}
// Output the (ab) diff
if ((diff & DiffMode.Dupes) != 0)
{
Output.WriteDatfile(dupeData, outdir, logger);
}
// Output the individual (a-b) DATs
if ((diff & DiffMode.Individuals) != 0)
{
for (int j = 0; j < inputs.Count; j++)
{
// If we have an output directory set, replace the path
@@ -2083,6 +2091,7 @@ namespace SabreTools.Helper
Output.WriteDatfile(outDats[j], path, logger);
}
}
}
logger.User("Outputting complete in " + DateTime.Now.Subtract(start).ToString(@"hh\:mm\:ss\.fffff"));
}