Skip to content

Commit

Permalink
Make CheckNeeds static
Browse files Browse the repository at this point in the history
Can now be extracted
  • Loading branch information
blowfishpro committed Sep 24, 2017
1 parent 55308af commit 1a7d1e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModuleManager/MMPatchLoader.cs
Expand Up @@ -264,7 +264,7 @@ private IEnumerator ProcessPatch()
status = "Checking NEEDS.";
logger.Info(status);
yield return null;
CheckNeeds(mods, progress);
CheckNeeds(mods, progress, logger);

#endregion Check Needs

Expand Down Expand Up @@ -773,7 +773,7 @@ private void StatusUpdate(IPatchProgress progress)

#region Needs checking

private void CheckNeeds(IEnumerable<string> mods, IPatchProgress progress)
private static void CheckNeeds(IEnumerable<string> mods, IPatchProgress progress, IBasicLogger logger)
{
UrlDir.UrlConfig[] allConfigs = GameDatabase.Instance.root.AllConfigs.ToArray();

Expand Down

0 comments on commit 1a7d1e3

Please sign in to comment.