Skip to content

Commit

Permalink
Fix tooltip calls for old BT2 UnitAura usage
Browse files Browse the repository at this point in the history
Fixes: #4612
  • Loading branch information
InfusOnWoW committed Sep 24, 2023
1 parent b76a6a1 commit 2786ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WeakAuras/BuffTrigger2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3140,9 +3140,9 @@ function BuffTrigger.SetToolTip(trigger, state)
return false
end
if state.filter == "HELPFUL" then
GameTooltip:SetUnitBuff(state.unit, state.index)
GameTooltip:SetUnitBuff(state.unit, state.index, state.filter)
elseif state.filter == "HARMFUL" then
GameTooltip:SetUnitDebuff(state.unit, state.index)
GameTooltip:SetUnitDebuff(state.unit, state.index, state.filter)
end
end
return true
Expand Down

0 comments on commit 2786ffc

Please sign in to comment.