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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user