From ead9aec52fb4f57f1cb21ca200b7c9b35940bcac Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Tue, 12 Oct 2010 21:55:24 +0100 Subject: [PATCH] Fix the issue with nil 'blizzframes' --- Clique.lua | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/Clique.lua b/Clique.lua index 9ed60bf..addfd3e 100755 --- a/Clique.lua +++ b/Clique.lua @@ -185,21 +185,7 @@ function addon:InitializeDatabase() if reset then CliqueDB2 = { - settings = { - blizzframes = { - PlayerFrame = true, - PetFrame = true, - TargetFrame = true, - TargetFrameToT = true, - FocusFrame = true, - FocusFrameToT = true, - arena = true, - party = true, - compactraid = true, - compactparty = true, - boss = true, - } - }, + settings = {}, bindings = {}, dbversion = current_db_version, } @@ -211,6 +197,19 @@ function addon:InitializeDatabase() if not db.settings[charKey] then db.settings[charKey] = { profileKey = charKey, + blizzframes = { + PlayerFrame = true, + PetFrame = true, + TargetFrame = true, + TargetFrameToT = true, + FocusFrame = true, + FocusFrameToT = true, + arena = true, + party = true, + compactraid = true, + compactparty = true, + boss = true, + } } end -- 1.7.9.5