Quantcast

fix

Steven Jackson [09-14-14 - 02:57]
fix
Filename
Interface/AddOns/SVUI/system/load.lua
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