diff --git a/core.lua b/core.lua index 3a8ec1f..a6e9655 100644 --- a/core.lua +++ b/core.lua @@ -435,10 +435,10 @@ local function OnTooltipSetUnit(tip, data) text = text..targetName end end - end - local line = GetEmptyTrailingLine(tip) - line:SetText(text) + local line = GetEmptyTrailingLine(tip) + line:SetText(text) + end end end