AbsolutePath: Removed unused parameter

This commit is contained in:
Justin Swanson 2020-04-01 14:11:34 -05:00 committed by Timothy Baldridge
parent 73b5fc495e
commit c215f92abc
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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;