The tooltip's title management currently only trims the character name from the title if the title is positioned before the character name.
Example:
pvpname: Sergeant Buster
name: Buster
Resulting pvptitle: Sergeant
However, when it comes to other titles (custom non pvp titles in Turtle WoW for instance) that come after the character name, we get the following behaviour:
pvpname: Buster Still Alive
name: Buster
Resulting pvptitle: Buster Still Alive
Here's the fix that seems to be working for me so far:
in tooltip.lua:
line 208:
local pvptitle = gsub(pvpname or name,name, "", 1)
pvptitle = gsub(pvptitle,"^%s(.-)%s$", "%1") --trimming spaces
line 228:
if pvptitle ~= name and pvptitle ~= "" then
The tooltip's title management currently only trims the character name from the title if the title is positioned before the character name. Example: pvpname: Sergeant Buster name: Buster Resulting pvptitle: Sergeant
However, when it comes to other titles (custom non pvp titles in Turtle WoW for instance) that come after the character name, we get the following behaviour: pvpname: Buster Still Alive name: Buster Resulting pvptitle: Buster Still Alive
Here's the fix that seems to be working for me so far:
in tooltip.lua: line 208: local pvptitle = gsub(pvpname or name,name, "", 1) pvptitle = gsub(pvptitle,"^%s(.-)%s$", "%1") --trimming spaces
line 228: if pvptitle ~= name and pvptitle ~= "" then