From 7eb99cf9e862c002864fcbc1086f92ba667cb7d9 Mon Sep 17 00:00:00 2001 From: Peechey <92683202+Peechey@users.noreply.github.com> Date: Sun, 23 Nov 2025 11:35:46 -0600 Subject: [PATCH] fix shared items loading before tree and radius jewel data is set --- src/Modules/Main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Modules/Main.lua b/src/Modules/Main.lua index 0b8d4543fd..7360bca91f 100644 --- a/src/Modules/Main.lua +++ b/src/Modules/Main.lua @@ -118,10 +118,6 @@ function main:Init() if not SetDPIScaleOverridePercent then SetDPIScaleOverridePercent = function(scale) end end - if self.userPath then - self:ChangeUserPath(self.userPath, ignoreBuild) - end - if launch.devMode and IsKeyDown("CTRL") or os.getenv("REGENERATE_MOD_CACHE") == "1" then -- If modLib.parseMod doesn't find a cache entry it generates it. -- Not loading pre-generated cache causes it to be rebuilt @@ -143,6 +139,10 @@ function main:Init() self.tree = { } self:LoadTree(latestTreeVersion) + if self.userPath then + self:ChangeUserPath(self.userPath, ignoreBuild) + end + self.uniqueDB = { list = { }, loading = true } self.rareDB = { list = { }, loading = true }