Skip to content

Commit

Permalink
Try not to purge target dummy aura snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Sep 11, 2023
1 parent 68cd926 commit 6c75492
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Targets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1011,11 +1011,10 @@ do

local now = GetTime()
local spec = state.spec.id and rawget( Hekili.DB.profile.specs, state.spec.id )
local nodmg = spec and ( spec.damage == false ) or false
local grace = spec and spec.damageExpiration or 6

for whom, when in pairs( targets ) do
if nodmg or now - when > grace then
if now - when > grace then
ns.eliminateUnit( whom )
end
end
Expand Down

0 comments on commit 6c75492

Please sign in to comment.