Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Modules/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }

Expand Down
Loading