Fix reading flags in comments for DeconstructBSAs

This commit is contained in:
Chris Bessent 2021-02-09 12:32:21 -07:00
parent 8c56b0edb5
commit 7cad47a229

View File

@ -25,7 +25,7 @@ namespace Wabbajack.Lib.CompilationSteps
{
var general = kv.Value.General;
if (general.notes != null && (general.notes.Contains(Consts.WABBAJACK_INCLUDE) || general.notes.Contains(Consts.WABBAJACK_NOMATCH_INCLUDE))) return true;
if (general.comments != null && (general.notes.Contains(Consts.WABBAJACK_INCLUDE) || general.notes.Contains(Consts.WABBAJACK_NOMATCH_INCLUDE))) return true;
if (general.comments != null && (general.comments.Contains(Consts.WABBAJACK_INCLUDE) || general.comments.Contains(Consts.WABBAJACK_NOMATCH_INCLUDE))) return true;
return false;
})
.Select(kv => kv.Key.RelativeTo(_mo2Compiler.SourcePath))