diff --git a/IceHUD_Options/Options.lua b/IceHUD_Options/Options.lua index d4ca464..58a8b74 100644 --- a/IceHUD_Options/Options.lua +++ b/IceHUD_Options/Options.lua @@ -666,7 +666,7 @@ function IceHUD_Options:OnLoad() self.options.args.profiles = LibStub("AceDBOptions-3.0"):GetOptionsTable(IceHUD.db) -- Add dual-spec support - if IceHUD.db.profile.enable and LibDualSpec then + if IceHUD.db ~= nil and LibDualSpec then LibDualSpec:EnhanceOptions(IceHUD_Options.options.args.profiles, IceHUD.db) end