😧
This commit is contained in:
Pinya
2018-07-22 22:25:58 +03:00
parent 19e78f6174
commit 85bd17fc1d
+3 -3
View File
@@ -24,10 +24,10 @@ local function enableTargetUpdate(object)
local total = 0
object:SetScript('OnUpdate', function()
if(not self.unit) then
if(not this.unit) then
return
elseif(total > self.onUpdateFrequency) then
self:UpdateAllElements('OnUpdate')
elseif(total > this.onUpdateFrequency) then
this:UpdateAllElements('OnUpdate')
total = 0
end