From 9b001acd37e4fc514710f478fff84d630de8a835 Mon Sep 17 00:00:00 2001 From: Scott Sibley Date: Sun, 31 Jul 2011 20:28:40 -0500 Subject: [PATCH] Show dead/ghost time on Name line. --- Modules/UnitTooltip/UnitTooltip.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua index e2de41f..685465d 100644 --- a/Modules/UnitTooltip/UnitTooltip.lua +++ b/Modules/UnitTooltip/UnitTooltip.lua @@ -81,13 +81,17 @@ local offline = Offline(unit) if offline then afk = " " .. Angle(offline) end +local dead = Dead(unit) +if dead then + afk = afk .. " " .. Angle(dead) +end local port = StarTip:GetModule("Portrait") local texture = "" if port and port.texture then - texture = port.texture:GetTexture() + texture = port.texture:GetTexture() end if texture ~= "" then - texture = Texture("", port.db.profile.size) .. " " + texture = Texture("", port.db.profile.size) .. " " end return texture .. Colorize((Name(unit, true) or Name(unit)) .. afk , r, g, b) ]], -- 1.7.9.5