Skip to content

Commit

Permalink
Make more methods static
Browse files Browse the repository at this point in the history
All their instance variable dependencies have been eliminated
  • Loading branch information
blowfishpro committed Sep 23, 2017
1 parent 58d52d9 commit 2645d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ModuleManager/MMPatchLoader.cs
Expand Up @@ -818,7 +818,7 @@ private void CheckNeeds(IEnumerable<string> mods, IPatchProgress progress)
}
}

private void CheckNeeds(NodeStack stack, PatchContext context, IEnumerable<string> mods)
private static void CheckNeeds(NodeStack stack, PatchContext context, IEnumerable<string> mods)
{
bool needsCopy = false;
ConfigNode original = stack.value;
Expand Down Expand Up @@ -895,7 +895,7 @@ private void CheckNeeds(NodeStack stack, PatchContext context, IEnumerable<strin
/// <summary>
/// Returns true if needs are satisfied.
/// </summary>
private bool CheckNeeds(ref string name, IEnumerable<string> mods)
private static bool CheckNeeds(ref string name, IEnumerable<string> mods)
{
if (name == null)
return true;
Expand Down

0 comments on commit 2645d22

Please sign in to comment.