Replacing table.wipe with Details:Destroy()

This commit is contained in:
Tercio Jose
2023-05-22 15:31:29 -03:00
parent fa0d1e1d08
commit 0cdfa2b900
40 changed files with 1205 additions and 1322 deletions
+1 -1
View File
@@ -74,7 +74,7 @@
local texture = portraitPool.inUse[i]
releaseTextureForPortraitPool(texture)
end
table.wipe(portraitPool.npcIdToTexture)
Details:Destroy(portraitPool.npcIdToTexture)
end)
eventListener:RegisterEvent("COMBAT_ENCOUNTER_START", function()