From 802c3b6f346e5eec0220c68f9978884ccda47dbb Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Tue, 30 Jul 2024 18:23:38 -0300 Subject: [PATCH] If actor serial is missing, use an empty string for GetPlayerInfoByGUID() --- classes/class_damage.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/class_damage.lua b/classes/class_damage.lua index 2019433a5..a747c3c60 100644 --- a/classes/class_damage.lua +++ b/classes/class_damage.lua @@ -3416,7 +3416,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