Skip to content

Commit

Permalink
fix: correct usage of GetTalentTabInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
psykzz authored Aug 8, 2024
1 parent f350d2a commit fba0d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function addon.GetSpecByGroupNum(groupnum)
local maxTalentsSpent = -1
local maxTalentSpec = nil
for specTab = 1, 3 do
local specName, id, pointsSpent = GetTalentTabInfo(specTab, false, false, groupnum)
local _, specName, _, pointsSpent = GetTalentTabInfo(specTab, false, false, groupnum)
if pointsSpent > maxTalentsSpent then
maxTalentsSpent = pointsSpent
maxTalentSpec = specName
Expand Down

0 comments on commit fba0d14

Please sign in to comment.