Author: soliton
Date: Fri Aug 29 23:30:39 2008
New Revision: 29098

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29098&view=rev
Log:
* update wmlunits to the new advances_to syntax

Modified:
    trunk/data/tools/unit_tree/helpers.py   (contents, props changed)

Modified: trunk/data/tools/unit_tree/helpers.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/unit_tree/helpers.py?rev=29098&r1=29097&r2=29098&view=diff
==============================================================================
--- trunk/data/tools/unit_tree/helpers.py (original)
+++ trunk/data/tools/unit_tree/helpers.py Fri Aug 29 23:30:39 2008
@@ -299,7 +299,7 @@
             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()

Propchange: trunk/data/tools/unit_tree/helpers.py
------------------------------------------------------------------------------
    svn:executable = *


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to