mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Remove cloneable, use constructor instead
This commit is contained in:
@@ -337,7 +337,7 @@ namespace SabreTools.Helper.Dats
|
||||
BucketByGame(false, true, logger, output: false, lower: false);
|
||||
|
||||
// Create a temporary DAT to add things to
|
||||
DatFile tempDat = (DatFile)Clone();
|
||||
DatFile tempDat = new DatFile(this);
|
||||
tempDat.Name = null;
|
||||
|
||||
// Sort the input keys
|
||||
@@ -354,7 +354,7 @@ namespace SabreTools.Helper.Dats
|
||||
SplitByLevelHelper(tempDat, outDir, shortname, basedat, logger);
|
||||
|
||||
// Reset the DAT for the next items
|
||||
tempDat = (DatFile)Clone();
|
||||
tempDat = new DatFile(this);
|
||||
tempDat.Name = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user