Skip to content

Commit 6362c71

Browse files
committed
Fixed a minor bug that resulted in a different spec's talent tree opening by default on load
1 parent a55981e commit 6362c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TalentViewer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ do
5151
local specName = select(2, GetSpecializationInfoForSpecID(specInfo.specId))
5252
if specName ~= '' then
5353
cache.classSpecs[specInfo.classId][specInfo.specId] = specName
54-
cache.specIndexToIdMap[specInfo.classId][specInfo.index] = specInfo.specId
54+
cache.specIndexToIdMap[specInfo.classId][specInfo.index + 1] = specInfo.specId
5555
cache.specIconId[specInfo.specId] = specInfo.specIconId
5656
cache.specIdToClassIdMap[specInfo.specId] = specInfo.classId
5757
end

0 commit comments

Comments
 (0)