From 6c17ea34d1a418467eecd5afbf74fe42fe9ff94a Mon Sep 17 00:00:00 2001 From: Steven Jackson Date: Sat, 13 Sep 2014 21:57:29 -0500 Subject: [PATCH] fix --- Interface/AddOns/SVUI/system/load.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Interface/AddOns/SVUI/system/load.lua b/Interface/AddOns/SVUI/system/load.lua index 01de390..4e0976a 100644 --- a/Interface/AddOns/SVUI/system/load.lua +++ b/Interface/AddOns/SVUI/system/load.lua @@ -147,18 +147,22 @@ function SV:Load() if not SVUI_Profile then SVUI_Profile = {} end if not SVUI_Profile.SAFEDATA then SVUI_Profile.SAFEDATA = {dualSpecEnabled = false} end if not SVUI_Profile.STORED then PrepareStorage() end + if not SVUI_Profile.STORED[2] then SVUI_Profile.STORED[2] = {} SVUI_Profile.STORED[2].LAYOUT = SVUI_Profile.STORED[1].LAYOUT end + if not SVUI_Profile.STORED[3] then SVUI_Profile.STORED[3] = {} SVUI_Profile.STORED[3].LAYOUT = SVUI_Profile.STORED[1].LAYOUT end + if playerClass == "DRUID" and not SVUI_Profile.STORED[4] then SVUI_Profile.STORED[4] = {} SVUI_Profile.STORED[4].LAYOUT = SVUI_Profile.STORED[1].LAYOUT end + for k,v in pairs(SVUI_Profile) do if(k ~= "STORED" and k ~= "SAFEDATA") then SVUI_Profile[k] = nil -- 1.7.9.5