Skip to content

Commit

Permalink
Merge pull request #277 from psykzz/patch-1
Browse files Browse the repository at this point in the history
fix: correct usage of GetTalentTabInfo
  • Loading branch information
Road-block authored Aug 9, 2024
2 parents f350d2a + fba0d14 commit 600835c
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
@@ -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

0 comments on commit 600835c

Please sign in to comment.