Skip to content

Commit

Permalink
Dont change given ILCodes
Browse files Browse the repository at this point in the history
  • Loading branch information
alextd committed Feb 27, 2020
1 parent 91c1845 commit 22f5c79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/OverMineable/DeliverUnderRock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructio
{
//Frame can be made
yield return new CodeInstruction(OpCodes.Pop);
list[++i].opcode = OpCodes.Br;
yield return list[i];
i++;
yield return new CodeInstruction(OpCodes.Br, list[i].operand) { labels = list[i].labels };
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Source/OverMineable/InteractionSpot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructio
yield return list[i - 4];//index
yield return list[i - 3];//thingList[index]
yield return new CodeInstruction(OpCodes.Call, AndIsNotRockInfo);
list[++i].opcode = OpCodes.Brtrue;
yield return list[i];
i++;
yield return new CodeInstruction(OpCodes.Brtrue, list[i].operand) { labels = list[i].labels };
}
}
}
Expand Down

0 comments on commit 22f5c79

Please sign in to comment.