Fixed mistake in hediffinsecteggpregnancy patch
This commit is contained in:
parent
a36bdb7e9a
commit
5000d918fe
|
@ -27,5 +27,6 @@
|
|||
<li>brrainz.harmony</li>
|
||||
<li>ludeon.rimworld.biotech</li>
|
||||
<li>rim.job.world</li>
|
||||
<li>ASMR.RJW.RaceSupport</li>
|
||||
</loadAfter>
|
||||
</ModMetaData>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -24,7 +24,8 @@ namespace RJW_BGS
|
|||
|
||||
foreach (CodeInstruction instruction in instructions)
|
||||
{
|
||||
if(instruction.opcode == OpCodes.Call && instruction.operand.ToString() == "Void BabyPostBirth(Verse.Pawn, Verse.Pawn, Verse.Pawn)")
|
||||
yield return instruction;
|
||||
if (instruction.opcode == OpCodes.Call && instruction.operand.ToString() == "Void BabyPostBirth(Verse.Pawn, Verse.Pawn, Verse.Pawn)")
|
||||
{
|
||||
yield return new CodeInstruction(OpCodes.Ldloc_0, null);
|
||||
yield return new CodeInstruction(OpCodes.Ldfld, implanter);
|
||||
|
@ -33,7 +34,7 @@ namespace RJW_BGS
|
|||
yield return new CodeInstruction(OpCodes.Ldloc_1, null);
|
||||
yield return new CodeInstruction(OpCodes.Call, newgenes);
|
||||
}
|
||||
yield return instruction;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue