Skip to content
Permalink
Browse files

Cleanup.

  • Loading branch information...
Wetxius committed Nov 1, 2013
1 parent 96781cc commit af1c5ce59564cb4258439e842b6d7e734a9640ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 ShestakUI/Modules/Tooltip/UnitRole.lua
@@ -22,7 +22,7 @@ GameTooltip:HookScript("OnTooltipSetUnit", function(self, ...)
local _, unit = GameTooltip:GetUnit()
local _, instanceType = IsInInstance()
if instanceType == "scenario" then return end
if unit and UnitIsPlayer(unit) and ((UnitInParty(unit) and GetNumGroupMembers() > 0) or (UnitInRaid(unit) and GetNumGroupMembers() > 0)) then
if unit and UnitIsPlayer(unit) and ((UnitInParty(unit) or UnitInRaid(unit)) and GetNumGroupMembers() > 0) then
GameTooltip:AddLine(ROLE..": "..GetLFDRole(unit))
end
end)

0 comments on commit af1c5ce

Please sign in to comment.
You can’t perform that action at this time.