Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anzz1 authored Aug 6, 2022
1 parent 2237034 commit 4646ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ GameTooltip:HookScript("OnTooltipSetUnit", function(self)

local wide_style = (TacoTipConfig.tip_style == 3 or (TacoTipConfig.tip_style == 2 and IsModifierKeyDown()) and true) or false

if (TacoTipConfig.show_target and UnitIsConnected(unit)) then -- and not UnitIsUnit(unit, "player")) then
if (TacoTipConfig.show_target and UnitIsConnected(unit) and not UnitIsUnit(unit, "player")) then
local unitTarget = unit .. "target"
local targetName = UnitName(unitTarget)
if (targetName) then
Expand Down

0 comments on commit 4646ab9

Please sign in to comment.