add to cleanup

This commit is contained in:
pepopo978
2025-06-15 13:14:33 -07:00
parent acc7d93e79
commit c96e6f3b1f
+7
View File
@@ -583,6 +583,13 @@ local function CheckForCleanup(guid, time)
Cursive.core.remove(guid)
-- remove from curses
Cursive.curses:RemoveGuid(guid)
-- remove from sharedDebuffGuids
for sharedDebuffKey, guids in pairs(Cursive.curses.sharedDebuffGuids) do
if guids[guid] then
Cursive.curses.sharedDebuffGuids[sharedDebuffKey][guid] = nil
end
end
end
end