From fe404fa5feb2f5a342cb17591df1b15a9cd07124 Mon Sep 17 00:00:00 2001 From: Luckyone Date: Wed, 27 Nov 2024 16:22:12 +0100 Subject: [PATCH] Add DualSpec profiles for anniversary realms --- ElvUI/Core/General/Core.lua | 2 +- ElvUI/Core/init.lua | 2 +- ElvUI_Options/Core/Core.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI/Core/General/Core.lua b/ElvUI/Core/General/Core.lua index 768e7711d0..40ddd64b3b 100644 --- a/ElvUI/Core/General/Core.lua +++ b/ElvUI/Core/General/Core.lua @@ -2034,7 +2034,7 @@ function E:Initialize() E:Tutorials() end - if E.Retail or E.Cata or E.ClassicSOD then + if E.Retail or E.Cata or E.ClassicSOD or E.ClassicAnniv or E.ClassicAnnivHC then E.Libs.DualSpec:EnhanceDatabase(E.data, 'ElvUI') end diff --git a/ElvUI/Core/init.lua b/ElvUI/Core/init.lua index d7ec4656c1..f988153c27 100644 --- a/ElvUI/Core/init.lua +++ b/ElvUI/Core/init.lua @@ -171,7 +171,7 @@ do E:AddLib('AceConfigRegistry', 'AceConfigRegistry-3.0-ElvUI') E:AddLib('AceDBOptions', 'AceDBOptions-3.0') - if E.Retail or E.Cata or E.ClassicSOD then + if E.Retail or E.Cata or E.ClassicSOD or E.ClassicAnniv or E.ClassicAnnivHC then E:AddLib('DualSpec', 'LibDualSpec-1.0') end diff --git a/ElvUI_Options/Core/Core.lua b/ElvUI_Options/Core/Core.lua index 6d643b792d..8b846bd1ff 100644 --- a/ElvUI_Options/Core/Core.lua +++ b/ElvUI_Options/Core/Core.lua @@ -312,7 +312,7 @@ E.Options.args.profiles.args.private.order = 2 E.Libs.AceConfig:RegisterOptionsTable('ElvProfiles', E.Options.args.profiles.args.profile) -if E.Retail or E.Cata or E.ClassicSOD then +if E.Retail or E.Cata or E.ClassicSOD or E.ClassicAnniv or E.ClassicAnnivHC then E.Libs.DualSpec:EnhanceOptions(E.Options.args.profiles.args.profile, E.data) end