Bug fix
Scott Sibley [11-25-10 - 21:12]
diff --git a/Modules/Bars/Bars.lua b/Modules/Bars/Bars.lua
index 22363e5..09c72d9 100644
--- a/Modules/Bars/Bars.lua
+++ b/Modules/Bars/Bars.lua
@@ -154,9 +154,9 @@ function updateBar(widget, bar)
local r, g, b = 0, 0, 1
if widget.color1 and widget.bar1 then
- r, g, b = widget.color1.res1, widget.color1.res2, widget.color1.res3
+ r, g, b = widget.color1.ret1, widget.color1.ret2, widget.color1.ret3
elseif widget.color2 and widget.color2.is_valid then
- r, g, b = widget.color2.res1, widget.color2.res2, widget.color2.res3
+ r, g, b = widget.color2.ret1, widget.color2.ret2, widget.color2.ret3
end
if type(r) == "number" then
diff --git a/Modules/UnitTooltip/UnitTooltip.lua b/Modules/UnitTooltip/UnitTooltip.lua
index 78fa76b..280dc21 100644
--- a/Modules/UnitTooltip/UnitTooltip.lua
+++ b/Modules/UnitTooltip/UnitTooltip.lua
@@ -694,7 +694,6 @@ function mod:CreateLines()
for i, v in ipairs(self) do
local left, right = '', ''
environment.unit = StarTip.unit
- environment.self = mod
v.config.unit = StarTip.unit
if v.right and v.right ~= "" then
environment.self = v.rightObj