We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc72b92 commit 9431e4cCopy full SHA for 9431e4c
1 file changed
modules/respecButtonsInTreeUI.lua
@@ -93,10 +93,7 @@ do
93
function respecButtonMixin:OnClick()
94
local specIndex = self:GetID();
95
if C_SpecializationInfo.GetSpecialization() == specIndex then return end
96
- if ClassTalentHelper and ClassTalentHelper.SwitchToSpecializationByIndex then
97
- ClassTalentHelper.SwitchToSpecializationByIndex(specIndex)
98
- return
99
- end
+
100
C_SpecializationInfo.SetSpecialization(specIndex)
101
Util:GetTalentFrame():SetCommitStarted(0)
102
Module:RegisterEvent('ACTIVE_PLAYER_SPECIALIZATION_CHANGED')
0 commit comments