mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update
😧
This commit is contained in:
@@ -24,10 +24,10 @@ local function enableTargetUpdate(object)
|
|||||||
|
|
||||||
local total = 0
|
local total = 0
|
||||||
object:SetScript('OnUpdate', function()
|
object:SetScript('OnUpdate', function()
|
||||||
if(not self.unit) then
|
if(not this.unit) then
|
||||||
return
|
return
|
||||||
elseif(total > self.onUpdateFrequency) then
|
elseif(total > this.onUpdateFrequency) then
|
||||||
self:UpdateAllElements('OnUpdate')
|
this:UpdateAllElements('OnUpdate')
|
||||||
total = 0
|
total = 0
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user