Fixed unknown .displayName after startup
This commit is contained in:
@@ -117,8 +117,12 @@ do
|
||||
end
|
||||
|
||||
function Details:SetDisplayName(actor, newDisplayName)
|
||||
local thisActor = self.displayName and self or actor
|
||||
thisActor.displayName = newDisplayName
|
||||
if (not newDisplayName) then
|
||||
newDisplayName = actor
|
||||
self.displayName = newDisplayName
|
||||
else
|
||||
actor.displayName = newDisplayName
|
||||
end
|
||||
end
|
||||
|
||||
function _detalhes:GetOnlyName (string)
|
||||
|
||||
Reference in New Issue
Block a user