diff --git a/SabreTools.Core/Tools/Utilities.cs b/SabreTools.Core/Tools/Utilities.cs index 087fe2d8..bf46d12f 100644 --- a/SabreTools.Core/Tools/Utilities.cs +++ b/SabreTools.Core/Tools/Utilities.cs @@ -76,8 +76,8 @@ namespace SabreTools.Core.Tools // Cap the depth between 0 and 20, for now if (depth < 0) depth = 0; - else if (depth > ZeroHash.SHA1Str.Length) - depth = ZeroHash.SHA1Str.Length; + else if (depth > ZeroHash.SHA1Arr.Length) + depth = ZeroHash.SHA1Arr.Length; // Loop through and generate the subdirectory string path = string.Empty; diff --git a/SabreTools.DatFiles/DepotInformation.cs b/SabreTools.DatFiles/DepotInformation.cs index 140ac70a..b5c38cda 100644 --- a/SabreTools.DatFiles/DepotInformation.cs +++ b/SabreTools.DatFiles/DepotInformation.cs @@ -50,8 +50,8 @@ namespace SabreTools.DatFiles Depth = 4; else if (Depth < 0) Depth = 0; - else if (Depth > ZeroHash.SHA1Str.Length) - Depth = ZeroHash.SHA1Str.Length; + else if (Depth > ZeroHash.SHA1Arr.Length) + Depth = ZeroHash.SHA1Arr.Length; } #region Cloning