If actor serial is missing, use an empty string for GetPlayerInfoByGUID()

This commit is contained in:
Tercio Jose 2024-07-30 18:23:38 -03:00 committed by andrew6180
parent 534a39ced5
commit 434b529cea

View file

@ -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