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