Skip to content

Commit

Permalink
Add DualSpec profiles for anniversary realms
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckyone961 committed Nov 27, 2024
1 parent 479b6b2 commit fe404fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ElvUI/Core/General/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion ElvUI/Core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion ElvUI_Options/Core/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fe404fa

Please sign in to comment.