Use first tooltip line if controller tooltip line is empty
This commit is contained in:
@@ -203,6 +203,12 @@ end
|
||||
local line = _G['DetailsPetOwnerFinderTextLeft' .. (2 + cbMode)]
|
||||
lineText = line and line:GetText()
|
||||
|
||||
if (not lineText or lineText == '') then
|
||||
line = _G['DetailsPetOwnerFinderTextLeft1']
|
||||
lineText = line and line:GetText()
|
||||
end
|
||||
end
|
||||
|
||||
if (lineText) then
|
||||
for i=1, #unitNameTitles do
|
||||
ownerName = lineText:match(unitNameTitles[i])
|
||||
|
||||
Reference in New Issue
Block a user