diff --git a/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFiles.cs b/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFiles.cs index 4b7f0571..8d3963ea 100644 --- a/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFiles.cs +++ b/Wabbajack.Lib/CompilationSteps/IgnoreTaggedFiles.cs @@ -48,7 +48,7 @@ namespace Wabbajack.Lib.CompilationSteps { foreach (var folderpath in _ignoreList) { - if (!source.AbsolutePath.Equals(folderpath) || !source.AbsolutePath.InFolder(folderpath)) continue; + if (!source.AbsolutePath.Equals(folderpath) && !source.AbsolutePath.InFolder(folderpath)) continue; var result = source.EvolveTo(); result.Reason = _reason; return result; diff --git a/Wabbajack.Lib/CompilationSteps/IncludeTaggedFiles.cs b/Wabbajack.Lib/CompilationSteps/IncludeTaggedFiles.cs index 2126616e..f65bc985 100644 --- a/Wabbajack.Lib/CompilationSteps/IncludeTaggedFiles.cs +++ b/Wabbajack.Lib/CompilationSteps/IncludeTaggedFiles.cs @@ -45,7 +45,7 @@ namespace Wabbajack.Lib.CompilationSteps { foreach (var folderpath in _includeDirectly) { - if (!source.AbsolutePath.Equals(folderpath) || !source.AbsolutePath.InFolder(folderpath)) continue; + if (!source.AbsolutePath.Equals(folderpath) && !source.AbsolutePath.InFolder(folderpath)) continue; var result = source.EvolveTo(); result.SourceDataID = await _compiler.IncludeFile(source.AbsolutePath); return result;