Quantcast

Change [SetBackdropColor] to [SetDebuffTypeColor]

U-YAROOT-WIN\Administrator [11-24-11 - 01:30]
Change [SetBackdropColor] to [SetDebuffTypeColor]
Filename
oUF_RaidDebuffs.lua
diff --git a/oUF_RaidDebuffs.lua b/oUF_RaidDebuffs.lua
index 3ac5e14..1f05557 100644
--- a/oUF_RaidDebuffs.lua
+++ b/oUF_RaidDebuffs.lua
@@ -90,10 +90,10 @@ local UpdateDebuffFrame = function(rd)
             end
         end

-        if(rd.SetBackdropColor) then
+        if(rd.SetDebuffTypeColor) then
             local colors = rd.DebuffTypeColor or debuffTypeColor
-            local c = colors[debuffType] or colors.none or colors.none
-            rd:SetBackdropColor(unpack(c))
+            local c = colors[debuffType] or colors.none or debuffTypeColor.none
+            rd:SetDebuffTypeColor(unpack(c))
         end

         if(not rd:IsShown()) then