Quantcast

Fixed my own stupid typos, and forgot to enable the addon by default *sigh*.

pschifferer [03-15-09 - 14:58]
Fixed my own stupid typos, and forgot to enable the addon by default *sigh*.
Filename
CauldronMain.lua
CauldronMainUI.lua
diff --git a/CauldronMain.lua b/CauldronMain.lua
index 4902e16..4be5dd7 100644
--- a/CauldronMain.lua
+++ b/CauldronMain.lua
@@ -16,6 +16,7 @@ Cauldron.options = {};
 Cauldron.options.buttons = {};

 Cauldron.vars = {
+	enabled = true,
 	inventory = {};
 };

diff --git a/CauldronMainUI.lua b/CauldronMainUI.lua
index ea1f9fc..a694924 100644
--- a/CauldronMainUI.lua
+++ b/CauldronMainUI.lua
@@ -10,7 +10,7 @@ function Cauldron:Frame_Show()
  	self:debug("Frame_Show enter");
 --@end-alpha@

-	if Cauldron.vars.enable and not(IsShiftKeyDown() and IsControlKeyDown()) then
+	if Cauldron.vars.enabled and not(IsShiftKeyDown() and IsControlKeyDown()) then
 --@alpha@
 	 	self:debug("Frame_Show: close dropdown menus");
 --@end-alpha@