Skip to content

Commit f5d1d72

Browse files
authored
fix shared items loading before tree and radius jewel data is set (#9349)
1 parent 380d823 commit f5d1d72

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Modules/Main.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ function main:Init()
118118

119119
if not SetDPIScaleOverridePercent then SetDPIScaleOverridePercent = function(scale) end end
120120

121-
if self.userPath then
122-
self:ChangeUserPath(self.userPath, ignoreBuild)
123-
end
124-
125121
if launch.devMode and IsKeyDown("CTRL") or os.getenv("REGENERATE_MOD_CACHE") == "1" then
126122
-- If modLib.parseMod doesn't find a cache entry it generates it.
127123
-- Not loading pre-generated cache causes it to be rebuilt
@@ -143,6 +139,10 @@ function main:Init()
143139
self.tree = { }
144140
self:LoadTree(latestTreeVersion)
145141

142+
if self.userPath then
143+
self:ChangeUserPath(self.userPath, ignoreBuild)
144+
end
145+
146146
self.uniqueDB = { list = { }, loading = true }
147147
self.rareDB = { list = { }, loading = true }
148148

0 commit comments

Comments
 (0)