Skip to content

Commit

Permalink
Remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Undid-Iridium committed Sep 9, 2024
1 parent ff3ba99 commit 7c37768
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi

const int offset = -4;
var scp173ExecuteEvent = typeof(EventManager)
.GetMethods(BindingFlags.Public | BindingFlags.Static) // Ensure the parameter type is IEventArguments
.GetMethods(BindingFlags.Public | BindingFlags.Static)
.FirstOrDefault(m => m.Name == nameof(EventManager.ExecuteEvent)
&& !m.IsGenericMethod);
int index = newInstructions.FindLastIndex(i => i.Calls(scp173ExecuteEvent)) + offset;
Expand Down

0 comments on commit 7c37768

Please sign in to comment.