Skip to content

Commit

Permalink
wmlunits: Use the unit type id on the id tooltip, not the name
Browse files Browse the repository at this point in the history
Fixes #1978.

[ci skip]
  • Loading branch information
irydacea committed Sep 11, 2017
1 parent 8a7aa49 commit 3eafff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/tools/unit_tree/html_output.py
Expand Up @@ -870,7 +870,7 @@ def clean_uval(name):
image, portrait = self.pic(u, u)
image = cleanurl(image)

write('<a href="%s" title="Id: %s">' % (link, name))
write('<a href="%s" title="Id: %s">' % (link, uid))

if crown == " ♚":
write('<div class="spritebg" style="background-image:url(\'%s\')">' % image)
Expand Down

0 comments on commit 3eafff0

Please sign in to comment.