Fix issue with aura_env being undefined in closure
This commit is contained in:
@@ -67,6 +67,7 @@ aura_env.MakeFrameGlow = function(frame)
|
||||
if healthBar ~= nil then
|
||||
LCG.PixelGlow_Start(healthBar, { 1, 1, 0, 1 }, 16, 0.35, 8, 4)
|
||||
aura_env.BusyFrames[frameName] = true
|
||||
local aura_env = aura_env
|
||||
C_Timer.After(1, function()
|
||||
LCG.PixelGlow_Stop(healthBar)
|
||||
aura_env.BusyFrames[frameName] = nil
|
||||
|
Reference in New Issue
Block a user