Skip to content

Commit

Permalink
Add the expiration time to hasPending on combat res spells
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
p3lim committed Nov 7, 2016
1 parent c0ea99b commit 44458c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibResInfo-1.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ function eventFrame:UNIT_AURA(event, unit)
-- Rebirth, Raise Dead, Soulstone and Eternal Guardian leaves a debuff on the resurrected target
local resurrecting, _, _, _, _, _, expires = UnitAura(unit, RESURRECTING, nil, "HARMFUL")
if resurrecting ~= hasPending[guid] then
hasPending[guid] = resurrecting
hasPending[guid] = expires
debug(1, ">> ResPending", nameFromGUID[guid], RESURRECTING)
callbacks:Fire("LibResInfo_ResPending", unit, guid, expires)
end
Expand Down

0 comments on commit 44458c6

Please sign in to comment.