From 2afa278bf0f33c365b69dce9c6826193f59dc9ec Mon Sep 17 00:00:00 2001 From: Parnic Date: Fri, 25 Jan 2008 06:53:49 +0000 Subject: [PATCH] - fix "flash on failures" option not disabling when the player cast bar is disabled --- modules/CastBar.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/CastBar.lua b/modules/CastBar.lua index 088c440..98fd861 100644 --- a/modules/CastBar.lua +++ b/modules/CastBar.lua @@ -61,6 +61,9 @@ function CastBar.prototype:GetOptions() set = function(value) self.moduleSettings.flashFailures = value end, + disabled = function() + return not self.moduleSettings.enabled + end, validate = { "Always", "Caster", "Never" }, order = 41 }