mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
BF: Proper condition for TXT tag files
This commit is contained in:
parent
fed371a6f1
commit
bae4073a26
@ -48,7 +48,7 @@ namespace Wabbajack.Lib.CompilationSteps
|
|||||||
{
|
{
|
||||||
foreach (var folderpath in _ignoreList)
|
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<IgnoredDirectly>();
|
var result = source.EvolveTo<IgnoredDirectly>();
|
||||||
result.Reason = _reason;
|
result.Reason = _reason;
|
||||||
return result;
|
return result;
|
||||||
|
@ -45,7 +45,7 @@ namespace Wabbajack.Lib.CompilationSteps
|
|||||||
{
|
{
|
||||||
foreach (var folderpath in _includeDirectly)
|
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<InlineFile>();
|
var result = source.EvolveTo<InlineFile>();
|
||||||
result.SourceDataID = await _compiler.IncludeFile(source.AbsolutePath);
|
result.SourceDataID = await _compiler.IncludeFile(source.AbsolutePath);
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
Reference in New Issue
Block a user