Mercurial > wow > buffalo2
diff ObjectiveTracker/QuestData.lua @ 46:aa693607b813
Block
- use Animation:IsPlaying() to determine whether a block should be ignored during cleanup; fixes abandoned quest ghosts
author | Nenue |
---|---|
date | Tue, 26 Apr 2016 15:05:38 -0400 |
parents | dd1ae565f559 |
children | f253baf6022d |
line wrap: on
line diff
--- a/ObjectiveTracker/QuestData.lua Tue Apr 26 14:57:18 2016 -0400 +++ b/ObjectiveTracker/QuestData.lua Tue Apr 26 15:05:38 2016 -0400 @@ -174,7 +174,7 @@ local logIndex = GetQuestLogIndexByID(block.info.questID, 'player') -- animating blocks have been evaluated - if not block.isAnimating then + if not block.blockFadeOut:IsPlaying() then if not logIndex then self:ClearBlock(block) print('GetNumWatched', '|cFF44FF00'.. index, (block and block:GetName() or '|cFFFF0000-|r'), '(trim not active)')