Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/HeadlessWrapper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ dofile("Launch.lua")
-- Prevents loading of ModCache
-- Allows running mod parsing related tests without pushing ModCache
-- The CI env var will be true when run from github workflows but should be false for other tools using the headless wrapper
mainObject.continuousIntegrationMode = os.getenv("CI")
mainObject.continuousIntegrationMode = os.getenv("CI")

runCallback("OnInit")
runCallback("OnFrame") -- Need at least one frame for everything to initialise
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function main:Init()
-- If modLib.parseMod doesn't find a cache entry it generates it.
-- Not loading pre-generated cache causes it to be rebuilt
self.saveNewModCache = true
elseif not launch.continuousIntegrationMode then -- Forces regeneration of modCache if ran from CI
else
-- Load mod cache
LoadModule("Data/ModCache", modLib.parseModCache)
end
Expand Down