mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 18:26:03 +00:00
wmllint: don't consider [special_note] tags, only NOTE macros
Fixes the warnings for Swordsman and Royal Guard units listed in #4494
This commit is contained in:
parent
fda3c9af75
commit
83ce0480c7
@ -1530,8 +1530,6 @@ def global_sanity_check(filename, lines):
|
||||
temp_movetypes = []
|
||||
temp_races = []
|
||||
temp_advances = []
|
||||
elif nav.element == "[special_note]":
|
||||
has_special_notes = True
|
||||
# the glob pattern matches any WML tag starting with filter, including [filter] itself
|
||||
if '[unit_type]' in nav.ancestors() and not nav.glob_ancestors("[[]filter*[]]"):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user