diff --git a/Omen.lua b/Omen.lua index 8f8154d..4ea59bd 100644 --- a/Omen.lua +++ b/Omen.lua @@ -1301,7 +1301,7 @@ function Omen:UpdateBars() else if i*dbBar.Height + (i-1)*dbBar.Spacing > h then break end end - local bar = bars[j] + local bar = bars[dbBar.ShowHeadings and i-1 or i] local threat = threatTable[guid] bar.Text1:SetText(guidNameLookup[guid]) if dbBar.ShowPercent and dbBar.ShowValue then