Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
kianzarrin committed Jun 23, 2022
1 parent c314cd5 commit fb63630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LoadOrderIPatch/Patches/CMPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit fb63630

Please sign in to comment.