v9.7.2: Ebonhold Database integration and core logic refinements
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
---@class Cleanup
|
||||
local QuestieCleanup = QuestieLoader:CreateModule("Cleanup")
|
||||
---@type QuestieDB
|
||||
local QuestieDB = QuestieLoader:ImportModule("QuestieDB")
|
||||
---@type l10n
|
||||
local l10n = QuestieLoader:ImportModule("l10n")
|
||||
|
||||
|
||||
function QuestieCleanup:Run()
|
||||
-- clean up raw db
|
||||
QuestieDB.npcData = nil
|
||||
QuestieDB.questData = nil
|
||||
QuestieDB.objectData = nil
|
||||
QuestieDB.itemData = nil
|
||||
|
||||
-- clean up lang
|
||||
l10n.itemLookup = nil
|
||||
l10n.npcNameLookup = nil
|
||||
l10n.objectLookup = nil
|
||||
l10n.questLookup = nil
|
||||
|
||||
-- we call this here to make sure there isn't a lag spike later on
|
||||
collectgarbage()
|
||||
end
|
||||
Reference in New Issue
Block a user