Bug Fixes

This commit is contained in:
Tercio Jose
2023-04-30 18:14:26 -03:00
parent d531fc95ff
commit 17f2fdd05a
10 changed files with 98 additions and 23 deletions
+5 -1
View File
@@ -190,7 +190,11 @@
---@type actor
local actorObject = utilityContainer:GetActor(actorName)
if (actorObject) then
return actorObject.spell_cast[spellId] or 0
if (actorObject.spell_cast) then
return actorObject.spell_cast[spellId] or 0
else
return 0
end
else
return 0
end