[DatFile] Reimplement outputting updated DAT after rebuild

This commit is contained in:
Matt Nadareski
2017-01-27 17:33:08 -08:00
parent 08102ae5c0
commit acc080c3a9

View File

@@ -139,6 +139,15 @@ namespace SabreTools.Helper.Dats
#endregion
// If we're updating the DAT, output to the rebuild directory
if (updateDat)
{
_fileName = "fixDAT_" + _fileName;
_name = "fixDAT_" + _name;
_description = "fixDAT_" + _description;
WriteToFile(outDir, logger);
}
return success;
}