From 8edcbda1648cf44d12fc2956d9fa216f075db8df Mon Sep 17 00:00:00 2001 From: Bunny67 Date: Sat, 2 Jun 2018 19:37:29 +0300 Subject: [PATCH] oops --- ElvUI/Modules/Auras/Auras.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI/Modules/Auras/Auras.lua b/ElvUI/Modules/Auras/Auras.lua index 614098c..1dc3c48 100644 --- a/ElvUI/Modules/Auras/Auras.lua +++ b/ElvUI/Modules/Auras/Auras.lua @@ -416,10 +416,10 @@ function A:UpdateHeader(header) local i, aura, buffIndex, icon = 0 while true do - aura = freshTable() buffIndex = GetPlayerBuff(i, filter) icon = GetPlayerBuffTexture(buffIndex) - if not icon then releaseTable(aura) break end + if not icon then break end + aura = freshTable() aura.count, aura.dispelType, aura.expires = GetPlayerBuffApplications(buffIndex), GetPlayerBuffDispelType(buffIndex), GetPlayerBuffTimeLeft(buffIndex) aura.icon = icon aura.index = buffIndex