From 2645d222082cf9a5913590ac97ad6253c6ec92a3 Mon Sep 17 00:00:00 2001 From: blowfish Date: Wed, 20 Sep 2017 00:57:06 -0700 Subject: [PATCH] Make more methods static All their instance variable dependencies have been eliminated --- ModuleManager/MMPatchLoader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ModuleManager/MMPatchLoader.cs b/ModuleManager/MMPatchLoader.cs index 0c00bf64..1ff5bc52 100644 --- a/ModuleManager/MMPatchLoader.cs +++ b/ModuleManager/MMPatchLoader.cs @@ -818,7 +818,7 @@ private void CheckNeeds(IEnumerable mods, IPatchProgress progress) } } - private void CheckNeeds(NodeStack stack, PatchContext context, IEnumerable mods) + private static void CheckNeeds(NodeStack stack, PatchContext context, IEnumerable mods) { bool needsCopy = false; ConfigNode original = stack.value; @@ -895,7 +895,7 @@ private void CheckNeeds(NodeStack stack, PatchContext context, IEnumerable /// Returns true if needs are satisfied. /// - private bool CheckNeeds(ref string name, IEnumerable mods) + private static bool CheckNeeds(ref string name, IEnumerable mods) { if (name == null) return true;