diff --git a/elements/totems.lua b/elements/totems.lua index b8541414..2d81c0ec 100644 --- a/elements/totems.lua +++ b/elements/totems.lua @@ -53,13 +53,15 @@ local function UpdateTooltip(self) end local function OnEnter(self) - if(not self:IsVisible()) then return end + if(GameTooltip:IsForbidden() or not self:IsVisible()) then return end GameTooltip:SetOwner(self, 'ANCHOR_BOTTOMRIGHT') self:UpdateTooltip() end local function OnLeave() + if(GameTooltip:IsForbidden()) then return end + GameTooltip:Hide() end