Flag as well for rebuild, if terrain has changed

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-02-08 19:55:57 +00:00
parent 07932c2207
commit 88264683d3

View file

@ -92,7 +92,7 @@ try:
tiles = []
with open(lfile) as f:
for line in f:
match = re.match(r".*[ew]\d{3}[ns]\d{2}/([ew]\d{3}[ns]\d{2}).*\.stg", line)
match = re.match(r".*[ew]\d{3}[ns]\d{2}/([ew]\d{3}[ns]\d{2}).*\.[bs]tg", line)
if match != None:
tiles.append(match.group(1))
except IOError: