If actor serial is missing, use an empty string for GetPlayerInfoByGUID()
This commit is contained in:
parent
534a39ced5
commit
434b529cea
1 changed files with 1 additions and 1 deletions
|
|
@ -3367,7 +3367,7 @@ function Details:SetClassIcon(texture, instance, class) --[[exported]] --~icons
|
|||
|
||||
local localizedClass, englishClass
|
||||
if (self.serial ~= "") then
|
||||
localizedClass, englishClass = GetPlayerInfoByGUID(self.serial)
|
||||
localizedClass, englishClass = GetPlayerInfoByGUID(self.serial or "")
|
||||
end
|
||||
|
||||
if (englishClass) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue