Quantcast

Bug fix

Scott Sibley [01-29-11 - 22:43]
Bug fix
Filename
Modules/Bars/Bars.lua
diff --git a/Modules/Bars/Bars.lua b/Modules/Bars/Bars.lua
index d9ebeaf..7436a07 100644
--- a/Modules/Bars/Bars.lua
+++ b/Modules/Bars/Bars.lua
@@ -99,7 +99,7 @@ return self.lastManaBar
 ]],
 		min = "return 0",
 		max = [[
-if not self.lastManaMax then return self.lastManaMax end
+if not UnitExists(unit) then return self.lastManaMax end
 self.lastManaMax = UnitManaMax('mouseover')
 return self.lastManaMax
 ]],