From 63ca787294c4d4235ab3052f8b7a819933d0a088 Mon Sep 17 00:00:00 2001 From: Bunny67 Date: Sun, 15 Jul 2018 14:12:16 +0300 Subject: [PATCH] update --- ElvUI/Core/core.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ElvUI/Core/core.lua b/ElvUI/Core/core.lua index 38bfc24..898f3c6 100644 --- a/ElvUI/Core/core.lua +++ b/ElvUI/Core/core.lua @@ -441,12 +441,11 @@ function E:IsDispellableByMe(debuffType) end end -function E:GetTalentSpecInfo(isInspect) - local talantGroup = GetActiveTalentGroup(isInspect) +function E:GetTalentSpecInfo() local maxPoints, specIdx, specName, specIcon = 0, 0 - for i = 1, MAX_TALENT_TABS do - local name, icon, pointsSpent = GetTalentTabInfo(i, isInspect, nil, talantGroup) + for i = 1, 3 do + local name, icon, pointsSpent = GetTalentTabInfo(i) if maxPoints < pointsSpent then maxPoints = pointsSpent specIdx = i