Skip to content

Commit

Permalink
PvPIcon: Don't always show
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed Jun 4, 2021
1 parent 5e44670 commit c870f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/PvPIcon/PvPIcon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function PitBull4_PvPIcon:GetTexture(frame)
else
return [[Interface\TargetingFrame\UI-PVP-FFA]]
end
elseif faction and faction ~= "Neutral" and UnitIsPVP(unit) or true then
elseif faction and faction ~= "Neutral" and UnitIsPVP(unit) then
-- Handle "Mercenary Mode" for player
if unit == "player" and UnitIsMercenary(unit) then
faction = OPPOSITE_PLAYER_FACTION[faction]
Expand Down

0 comments on commit c870f96

Please sign in to comment.