WABBAJACK_ALWAYS_DISABLE tag inferring #2181

This commit is contained in:
EzioTheDeadPoet 2022-11-07 17:22:33 +01:00
parent 3eb6b8c20b
commit febcc340d8

View File

@ -127,7 +127,9 @@ public class CompilerSettingsInferencer
cs.Include = cs.Include.Append(modFolder.RelativeTo(mo2Folder)).ToArray(); cs.Include = cs.Include.Append(modFolder.RelativeTo(mo2Folder)).ToArray();
if ((generalModData["notes"]?.Contains(Consts.WABBAJACK_IGNORE) ?? false) || if ((generalModData["notes"]?.Contains(Consts.WABBAJACK_IGNORE) ?? false) ||
(generalModData["comments"]?.Contains(Consts.WABBAJACK_IGNORE) ?? false)) (generalModData["comments"]?.Contains(Consts.WABBAJACK_IGNORE) ?? false) ||
(generalModData["notes"]?.Contains(Consts.WABBAJACK_ALWAYS_DISABLE) ?? false) ||
(generalModData["comments"]?.Contains(Consts.WABBAJACK_ALWAYS_DISABLE) ?? false))
cs.Ignore = cs.Ignore.Append(modFolder.RelativeTo(mo2Folder)).ToArray(); cs.Ignore = cs.Ignore.Append(modFolder.RelativeTo(mo2Folder)).ToArray();
} }