diff --git a/LoadOrderIPatch/Patches/CMPatch.cs b/LoadOrderIPatch/Patches/CMPatch.cs index 1e9e0a0..0921fa6 100644 --- a/LoadOrderIPatch/Patches/CMPatch.cs +++ b/LoadOrderIPatch/Patches/CMPatch.cs @@ -104,7 +104,7 @@ public class CMPatch : IPatch { var ilprocessor = mTarget.Body.GetILProcessor(); var instructions = mTarget.Body.Instructions; - string fpsMethod = "LoadOrScanAndPatch"; + const string fpsMethod = "LoadOrScanAndPatch"; bool touchedByFPS = instructions.Any(code => code.Calls(fpsMethod)); if (touchedByFPS) { Log.Info("ignoring LoadPluginPatch because FPSBooster already loads symbols");