Skip to content

Commit 126eb63

Browse files
committed
Update LibTalentTree - slightly reducing the initial loading screen
1 parent 51a9c84 commit 126eb63

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/TalentLoadoutManager.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ function TLM:TRAIT_CONFIG_LIST_UPDATED()
107107
--- @type number
108108
self.playerSpecID = PlayerUtil.GetCurrentSpecID(); ---@diagnostic disable-line: assign-type-mismatch
109109
self:RebuildLoadoutByIDCache();
110-
self:UpdateBlizzardLoadouts();
111-
self:DetectDeletedParents();
110+
LibTT:RegisterOnCacheWarmup(function()
111+
self:UpdateBlizzardLoadouts();
112+
self:DetectDeletedParents();
113+
end);
112114

113115
self:RegisterEvent("TRAIT_CONFIG_UPDATED");
114116
self:RegisterEvent("TRAIT_CONFIG_DELETED");

0 commit comments

Comments
 (0)