From d75e5d7a9a5aa890b53dfd17c25d8469f5cec3e9 Mon Sep 17 00:00:00 2001 From: Scott Sibley Date: Sat, 29 Jan 2011 22:43:14 +0000 Subject: [PATCH] Bug fix --- Modules/Bars/Bars.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]], -- 1.7.9.5