Merge pull request #5429 from hexagonrecursion/wmllint-fog-fix
Fix wmllint confusing fake map border for fog
This commit is contained in:
commit
c5e5ce1352
1 changed files with 1 additions and 1 deletions
|
@ -2882,7 +2882,7 @@ def translator(filename, mapxforms, textxform):
|
|||
else:
|
||||
fields = [x for x in line]
|
||||
outmap.append(fields)
|
||||
if not maskwarn and maptype == 'map' and ("_f" in line or "_s" in line):
|
||||
if not maskwarn and maptype == 'map' and re.search('_s|_f(?!me)', line):
|
||||
print('"%s", line %d: warning, fog or shroud in map file' \
|
||||
% (filename, lineno+1))
|
||||
maskwarn = True
|
||||
|
|
Loading…
Add table
Reference in a new issue