diff --git a/Wabbajack.Common/Paths.cs b/Wabbajack.Common/Paths.cs index 32a18e80..f77d8fef 100644 --- a/Wabbajack.Common/Paths.cs +++ b/Wabbajack.Common/Paths.cs @@ -280,7 +280,7 @@ namespace Wabbajack.Common true); } - public AbsolutePath AppendToName(AbsolutePath bsa, string toAppend) + public AbsolutePath AppendToName(string toAppend) { return new AbsolutePath( Path.Combine(Path.GetDirectoryName(_path), diff --git a/Wabbajack.Lib/CompilationSteps/IncludeDummyESPs.cs b/Wabbajack.Lib/CompilationSteps/IncludeDummyESPs.cs index 8a420488..5dd9f1a7 100644 --- a/Wabbajack.Lib/CompilationSteps/IncludeDummyESPs.cs +++ b/Wabbajack.Lib/CompilationSteps/IncludeDummyESPs.cs @@ -17,7 +17,7 @@ namespace Wabbajack.Lib.CompilationSteps source.AbsolutePath.Extension != Consts.ESM) return null; var bsa = source.AbsolutePath.ReplaceExtension(Consts.BSA); - var bsaTextures = source.AbsolutePath.AppendToName(bsa, " - Textures"); + var bsaTextures = source.AbsolutePath.AppendToName(" - Textures"); if (source.AbsolutePath.Size > 250 || !bsa.IsFile && !bsaTextures.IsFile) return null;