Skip to content

Commit db4e4c4

Browse files
github-actions[bot]PeecheyLocalIdentity
authored
[pob1-port] Fix Radius Jewels in Shared Items Crashing on Load (#1580)
* Apply changes from PathOfBuildingCommunity/PathOfBuilding#9349 * Fix conflict --------- Co-authored-by: Peechey <[email protected]> Co-authored-by: LocalIdentity <[email protected]>
1 parent 444dd02 commit db4e4c4

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
@@ -114,10 +114,6 @@ function main:Init()
114114
self.showAnimations = true
115115
self.errorReadingSettings = false
116116

117-
if self.userPath then
118-
self:ChangeUserPath(self.userPath, ignoreBuild)
119-
end
120-
121117
if launch.devMode and IsKeyDown("CTRL") or os.getenv("REGENERATE_MOD_CACHE") == "1" then
122118
-- If modLib.parseMod doesn't find a cache entry it generates it.
123119
-- Not loading pre-generated cache causes it to be rebuilt
@@ -139,6 +135,10 @@ function main:Init()
139135
self.tree = { }
140136
self:LoadTree(latestTreeVersion)
141137

138+
if self.userPath then
139+
self:ChangeUserPath(self.userPath, ignoreBuild)
140+
end
141+
142142
self.uniqueDB = { list = { }, loading = true }
143143
self.rareDB = { list = { }, loading = true }
144144

0 commit comments

Comments
 (0)