[Lint] Report when Maps contains invalid custom rules.
Report when Maps contains invalid custom rules.
This commit is contained in:
@@ -31,6 +31,9 @@ namespace OpenRA.Mods.Common.Lint
|
|||||||
|
|
||||||
if (!map.Categories.Any())
|
if (!map.Categories.Any())
|
||||||
emitError("Map does not define any categories.");
|
emitError("Map does not define any categories.");
|
||||||
|
|
||||||
|
if (map.InvalidCustomRules)
|
||||||
|
emitError("Map contains invalid custom rules.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user