General round of fixes and implementations (16 files modified, SafeRun, Cooltip Cleanup)
This commit is contained in:
@@ -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 (("%-.*"), "")
|
||||
|
||||
Reference in New Issue
Block a user