diff --git a/data/tools/terrain2wiki.py b/data/tools/terrain2wiki.py index a4a0d35256a..088f0350500 100755 --- a/data/tools/terrain2wiki.py +++ b/data/tools/terrain2wiki.py @@ -66,7 +66,7 @@ def parse_terrain(data): | %s | %s """ % ( -"http://svn.gna.org/svn/wesnoth/trunk/data/core/images/terrain/%s.png" % content['symbol_image'], +"http://svn.gna.org/svn/wesnoth/trunk/data/core/images/terrain/%s.png" % (content['editor_image'] if 'editor_image' in content else content['symbol_image']), content['editor_name'][4:-1] if 'editor_name' in content else content['name'][4:-1], content['string'].replace("# wmllint: ignore", ""), content['aliasof'] if 'aliasof' in content else "",