Skip to content

Commit 3254b3f

Browse files
committed
Fix modCache being dropped during load
1 parent e0c0dd5 commit 3254b3f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Modules/Main.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ function main:Init()
130130
self.saveNewModCache = true
131131
else
132132
-- Load mod cache
133-
modLib.parseModCache = LoadModule("Data/ModCache")
133+
for k, v in pairs(LoadModule("Data/ModCache")) do
134+
modLib.parseModCache[k] = v
135+
end
134136
end
135137

136138
--[[ this does not work properly anymore see PR #7675

0 commit comments

Comments
 (0)