Skip to content

Commit

Permalink
fIX
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 committed Aug 10, 2024
1 parent 748b67e commit f794367
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi
int enableEffect = newInstructions.FindLastIndex(
instruction => instruction.LoadsField(Field(typeof(ReferenceHub), nameof(ReferenceHub.playerEffectsController)))) + serverEffectLocationStart;

newInstructions[enableEffect].WithLabels(enableEffectLabel);

newInstructions.InsertRange(
newInstructions[enableEffect].WithLabels(enableEffectLabel);
newInstructions.InsertRange(
addShouldSeverIndex,
new[]
{
Expand Down

0 comments on commit f794367

Please sign in to comment.