From c187dd79fed6740b202cacd64ebd482ef06514e1 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Tue, 16 Aug 2016 11:24:50 +0300 Subject: [PATCH] Attempt to fix weird error in comm. Related to #270 --- .../modules/Armory/InspectArmory/Communication.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua b/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua index 8c9ed7a..8de4980 100644 --- a/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua +++ b/ElvUI_SLE/modules/Armory/InspectArmory/Communication.lua @@ -309,14 +309,15 @@ if not AISM.Revision or AISM.Revision < Revision then for i = 1, MAX_TALENT_TIERS do for k = 1, NUM_TALENT_COLUMNS do Talent, _, _, isSelected = T.GetTalentInfo(i, k, Group) - + if Talent then Talent = ((i - 1) * NUM_TALENT_COLUMNS + k)..'_'..Talent..(isSelected == true and '_1' or '') - - Spec = Spec..'/'..Talent - - if not SpecTable["Spec"..Step..'_Talent'..((i - 1) * NUM_TALENT_COLUMNS + k)] or SpecTable["Spec"..Step..'_Talent'..((i - 1) * NUM_TALENT_COLUMNS + k)] ~= Talent then - SpecTable["Spec"..Step..'_Talent'..((i - 1) * NUM_TALENT_COLUMNS + k)] = Talent - DataString = (DataString and DataString..'/' or '')..Talent + + Spec = Spec..'/'..Talent + + if not SpecTable["Spec"..Step..'_Talent'..((i - 1) * NUM_TALENT_COLUMNS + k)] or SpecTable["Spec"..Step..'_Talent'..((i - 1) * NUM_TALENT_COLUMNS + k)] ~= Talent then + SpecTable["Spec"..Step..'_Talent'..((i - 1) * NUM_TALENT_COLUMNS + k)] = Talent + DataString = (DataString and DataString..'/' or '')..Talent + end end end end -- 1.7.9.5