Skip to content

Commit

Permalink
Correctly reset timeLeft when we update, so we aren't stuck with ghos…
Browse files Browse the repository at this point in the history
…t timers.
  • Loading branch information
haste committed May 8, 2011
1 parent 89aee9b commit 0da0d67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions furbish.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ local Update = function(self, index)
self.timeLeft = expirationTime - GetTime()
end
else
self.timeLeft = nil
self.Duration:SetText''
self:SetScript('OnUpdate', nil)
end

Expand Down

0 comments on commit 0da0d67

Please sign in to comment.