Check if the left text has a valid text string before sending it to Truncate

This commit is contained in:
Tercio Jose
2022-06-09 09:59:35 -03:00
parent d08140c849
commit 419999fb09
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -2481,7 +2481,8 @@ end
local thisLine = self:GetLine(lineId)
--check if there's something showing in this line
if (thisLine.minha_tabela) then
--check if the line is shown and if the text exists for sanitization
if (thisLine.minha_tabela and thisLine:IsShown() and thisLine.lineText1:GetText()) then
local playerNameFontString = thisLine.lineText1
local text2 = thisLine.lineText2
local text3 = thisLine.lineText3