From 9e5a48267f4dcbaeb030daa376571c051975bf7e Mon Sep 17 00:00:00 2001 From: Lanerra Date: Sat, 25 Oct 2014 00:25:57 -0700 Subject: [PATCH] - Fixed crippling bug that I forgot to fix in the last build. Sorry. --- oUF_Lanerra.lua | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/oUF_Lanerra.lua b/oUF_Lanerra.lua index 720fb4a..a411bc5 100644 --- a/oUF_Lanerra.lua +++ b/oUF_Lanerra.lua @@ -71,20 +71,12 @@ Loader:SetScript('OnEvent', function(self, event, addon) end) -- Threat color handling -colors.threat = {} +oUF.colors.threat = {} for i = 1, 3 do local r, g, b = GetThreatStatusColor(i) oUF.colors.threat[i] = { r, g, b } end --- Color conversion function -function hex(r, g, b) - if(type(r) == 'table') then - if(r.r) then r, g, b = r.r, r.g, r.b else r, g, b = unpack(r) end - end - return ('|cff%02x%02x%02x'):format(r * 255, g * 255, b * 255) -end - ---- No More Lazy Stuff! -- Border update function -- 1.7.9.5