Made unit_tree compatible with 2008-09-29T08:38:06Z!ai0867@gmail.com.

This commit is contained in:
Alexander van Gessel 2008-09-30 15:48:02 +01:00
parent a8b938f7ca
commit 2d17ca4e65

View file

@ -255,7 +255,7 @@ class WesnothList:
we reference them everywhere by this id, and here can add them all to
one big collection.
"""
addunits = WML.get_all("+units")
addunits = WML.get_all("units")
if not addunits: return 0
def getall(oftype):