Skip to content

Commit

Permalink
Merge pull request #781 from Flamanis/Pet-owner-squire-fix-again
Browse files Browse the repository at this point in the history
Use first tooltip line if controller tooltip line is empty
  • Loading branch information
Tercioo authored Jul 24, 2024
2 parents 1c7733e + 28b7da6 commit 322bc6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions classes/container_actors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ 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
Expand Down

0 comments on commit 322bc6c

Please sign in to comment.