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
+1 -1
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