Fix get specID

This commit is contained in:
andrew6180
2025-09-25 05:54:17 -07:00
parent 0666b73b24
commit c2bb10665d
+1 -1
View File
@@ -104,7 +104,7 @@ function Clique:Enable()
-- Change to correct profile based on talent spec -- Change to correct profile based on talent spec
if self.db.char.switchSpec then if self.db.char.switchSpec then
self.silentProfile = true self.silentProfile = true
self.talentGroup = CA_GetActiveSpecId() + 1 self.talentGroup = SpecializationUtil.GetActiveSpecialization()
if self.db.char["spec" .. self.talentGroup .. "Profile"] then if self.db.char["spec" .. self.talentGroup .. "Profile"] then
self.db:SetProfile(self.db.char["spec" .. self.talentGroup .. "Profile"]) self.db:SetProfile(self.db.char["spec" .. self.talentGroup .. "Profile"])
end end