wmlunits: Use the unit type id on the id tooltip, not the name

Fixes #1978.

[ci skip]
This commit is contained in:
Ignacio R. Morelle 2017-09-11 19:05:39 -03:00
parent 8a7aa49718
commit 3eafff0d7d

View file

@ -870,7 +870,7 @@ class HTMLOutput:
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)