diff --git a/Helpers.lua b/Helpers.lua index d9314f4..34065e8 100644 --- a/Helpers.lua +++ b/Helpers.lua @@ -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