Skip to content

Commit

Permalink
Only use GetActiveConfigID
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed Jan 6, 2023
1 parent 7cc976d commit 510c29c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Clicked/Core/BindingProcessor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -797,8 +797,7 @@ function Addon:UpdateTalentCacheAndReloadBindings(delay, ...)

wipe(talentCache)

local currentSpecId = PlayerUtil.GetCurrentSpecID()
local configId = (currentSpecId and C_ClassTalents.GetLastSelectedSavedConfigID(currentSpecId)) or C_ClassTalents.GetActiveConfigID()
local configId = C_ClassTalents.GetActiveConfigID()
if configId == nil then
return
end
Expand Down

0 comments on commit 510c29c

Please sign in to comment.