Skip to content

Commit 87b141a

Browse files
committed
dual spec dt cata
1 parent 22e862e commit 87b141a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ElvUI/Core/Modules/DataTexts/DualSpec.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ local function BuildTalentString(talentGroup)
2727
local str = ''
2828

2929
for i = 1, MAX_TALENT_TABS do
30-
local _, _, pointsSpent = GetTalentTabInfo(i, false, false, talentGroup)
31-
str = (str == '' and pointsSpent) or strjoin('/', str, pointsSpent)
30+
local _, _, pointsEra, _, pointsInCata = GetTalentTabInfo(i, false, false, talentGroup)
31+
local points = (E.Cata and pointsInCata) or pointsEra
32+
str = (str == '' and points) or strjoin('/', str, points)
3233
end
3334

3435
return str

0 commit comments

Comments
 (0)