update wmlunits to the new advances_to syntax
This commit is contained in:
parent
aac6a79a04
commit
a801626793
1 changed files with 1 additions and 1 deletions
2
data/tools/unit_tree/helpers.py
Normal file → Executable file
2
data/tools/unit_tree/helpers.py
Normal file → Executable file
|
@ -299,7 +299,7 @@ class WesnothList:
|
|||
except KeyError: unit.movetype = None
|
||||
|
||||
unit.advance = []
|
||||
advanceto = unit.get_text_val("advanceto")
|
||||
advanceto = unit.get_text_val("advances_to")
|
||||
if advanceto and advanceto != "null":
|
||||
for advance in advanceto.split(","):
|
||||
auid = advance.strip()
|
||||
|
|
Loading…
Add table
Reference in a new issue