mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Move writing to new class
This commit is contained in:
@@ -55,7 +55,7 @@ in -old DAT file. Ignores those entries in -old that are not in -new.";
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the DatTool for parsing
|
||||
// Get the DatTool for opeations
|
||||
DatTool dt = new DatTool();
|
||||
|
||||
// Create the encapsulating datfile
|
||||
@@ -67,7 +67,7 @@ in -old DAT file. Ignores those entries in -old that are not in -new.";
|
||||
// Diff against the new datfile
|
||||
DatFile intDat = dt.CreateAndParse(newdat);
|
||||
datfile.DiffAgainst(intDat, false);
|
||||
intDat.Write(outdat);
|
||||
dt.Write(intDat, outdat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user