Skip to content

Commit

Permalink
[oUF] ResurrectIndicator: Workaround for a BCC PTR bug where UnitHasI…
Browse files Browse the repository at this point in the history
…ncomingResurrection returns true in scenarios it shouldn't
  • Loading branch information
EsreverWoW committed Aug 23, 2021
1 parent d0555af commit 6627c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ShestakUI/Libs/oUF/Elements/ResurrectIndicator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ local function Update(self, event, unit)
element:PreUpdate()
end

local incomingResurrect = UnitHasIncomingResurrection(unit)
local incomingResurrect = UnitIsDeadOrGhost(unit) and UnitHasIncomingResurrection(unit) -- 2.5.2 PTR bug can set UnitHasIncomingResurrection as true when alive
if(incomingResurrect) then
element:Show()
else
Expand Down

0 comments on commit 6627c6d

Please sign in to comment.