Skip to content

Commit

Permalink
Only add target line if there is actually a target
Browse files Browse the repository at this point in the history
  • Loading branch information
Pingumania committed Sep 12, 2023
1 parent c213989 commit abe4ab6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit abe4ab6

Please sign in to comment.