[wmlunits] fixed ignored unit-specific resistance/movement-cost/defence values

This commit is contained in:
Elias Pschernig 2011-04-16 14:27:21 +00:00
parent c25c693e5d
commit c330fb8263

View file

@ -557,7 +557,7 @@ class HTMLOutput:
mty = None
if mtx:
mty = mtx[0].get_text_val(key)
x = unit.get_all(att = what)
x = unit.get_all(tag = what)
y = None
if x:
y = x[0].get_text_val(key,