General round of fixes and implementations (16 files modified, SafeRun, Cooltip Cleanup)

This commit is contained in:
Tercio Jose
2022-09-25 14:59:34 -03:00
parent 8afc88f0e7
commit 9fb7445a31
16 changed files with 3735 additions and 3735 deletions
+6
View File
@@ -115,6 +115,12 @@ do
function _detalhes:GetDisplayName (actor)
return self.displayName or actor and actor.displayName
end
function Details:SetDisplayName(actor, newDisplayName)
local thisActor = self.displayName and self or actor
thisActor.displayName = newDisplayName
end
function _detalhes:GetOnlyName (string)
if (string) then
return string:gsub (("%-.*"), "")