Fixed an issue in the backend of augmentation evoker where the spell cache wasn't getting created on data insertion

This commit is contained in:
Tercio Jose
2024-06-07 22:21:22 -03:00
parent da686c7615
commit 153bed682f
+1
View File
@@ -476,6 +476,7 @@ function augmentationFunctions.BuffRefresh(token, time, sourceSerial, sourceName
local attributeGained = v2
if (type(attributeGained) == "number") then
Details222.DebugMsg("Ebon Might Refreshed!, but the evoker was not found in the cache (2), adding:", sourceName, sourceSerial, targetName, targetSerial)
augmentationCache.ebon_might[targetSerial] = {} --This is needed because the cache was nil
table.insert(augmentationCache.ebon_might[targetSerial], {sourceSerial, sourceName, sourceFlags, attributeGained})
end
end