Skip to content
Permalink
Browse files

Merge branch 'master' of github.com:Shestak/ShestakUI

  • Loading branch information
Shestak committed Oct 31, 2013
2 parents e0ba88f + caab1c2 commit ac44dfc8570831a555af8fd9037d53897ecc40e9
Showing with 2 additions and 0 deletions.
  1. +2 −0 ShestakUI/Modules/Tooltip/UnitRole.lua
@@ -20,6 +20,8 @@ end

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
GameTooltip:AddLine(ROLE..": "..GetLFDRole(unit))
end

0 comments on commit ac44dfc

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