Skip to content

Commit

Permalink
Don't run PrePatchInit if cache is being used
Browse files Browse the repository at this point in the history
Mod list is not necessary
  • Loading branch information
blowfishpro committed Sep 23, 2017
1 parent b52a80e commit 45a4c0c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ModuleManager/MMPatchLoader.cs
Expand Up @@ -249,16 +249,14 @@ private IEnumerator ProcessPatch()
#if DEBUG
//useCache = false;
#endif

status = "Pre patch init";
logger.Info(status);
yield return null;

PrePatchInit();


if (!useCache)
{
status = "Pre patch init";
logger.Info(status);
PrePatchInit();

yield return null;

// If we don't use the cache then it is best to clean the PartDatabase.cfg
Expand Down

0 comments on commit 45a4c0c

Please sign in to comment.