Skip to content

Commit ff5452f

Browse files
committed
Ignore MWSE_BUILD global in TD mode
1 parent 315d882 commit ff5452f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/validators/ids.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ impl Handler<'_> for IdValidator {
9797
TES3Object::GameSetting(_) => {
9898
println!("Found dirty {} {}", record.type_name(), record.editor_id());
9999
}
100+
TES3Object::GlobalVariable(_) => {
101+
if context.mode != Mode::TD || !record.editor_id().eq_ignore_ascii_case("MWSE_BUILD")
102+
{
103+
check_id(context, record);
104+
self.check_known(record);
105+
}
106+
}
100107
TES3Object::DialogueInfo(_) => {}
101108
TES3Object::PathGrid(_) => {}
102109
TES3Object::Region(_) => {

0 commit comments

Comments
 (0)