diff --git a/1.5/Assemblies/RJW_Menstruation.dll b/1.5/Assemblies/RJW_Menstruation.dll index 463815e..2e738d5 100644 Binary files a/1.5/Assemblies/RJW_Menstruation.dll and b/1.5/Assemblies/RJW_Menstruation.dll differ diff --git a/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_PregeneratedBabies.cs b/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_PregeneratedBabies.cs index 505d9be..5eeb149 100644 --- a/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_PregeneratedBabies.cs +++ b/1.5/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_PregeneratedBabies.cs @@ -157,7 +157,7 @@ namespace RJW_Menstruation // Easier to work out twins that way // From e.g. a vat - if (!(birtherThing is Pawn mother) || !xxx.is_human(mother)) + if (!(birtherThing is Pawn mother) || !xxx.is_human(mother) || !mother.ShouldCycle()) return PawnGenerator.GeneratePawn(request); // No babies found. Could be an unmodified pregnancy @@ -200,7 +200,7 @@ namespace RJW_Menstruation { private static Thing ApplyBirthLoop(RitualOutcomePossibility outcome, float quality, Precept_Ritual ritual, List genes, Pawn geneticMother, Thing birtherThing, Pawn father, Pawn doctor, LordJob_Ritual lordJobRitual, RitualRoleAssignments assignments, bool preventLetter) { - if (birtherThing is Pawn mother) + if (birtherThing is Pawn mother && mother.ShouldCycle()) { HediffComp_PregeneratedBabies comp = mother.health.hediffSet.GetFirstHediff().TryGetComp(); if (comp?.HasBaby ?? false) @@ -256,7 +256,7 @@ namespace RJW_Menstruation { private static Thing ApplyBirthLoop(RitualOutcomePossibility outcome, float quality, Precept_Ritual ritual, List genes, Pawn geneticMother, Thing birtherThing, Pawn father, Pawn doctor, LordJob_Ritual lordJobRitual, RitualRoleAssignments assignments) { - if (birtherThing is Pawn mother) + if (birtherThing is Pawn mother && mother.ShouldCycle()) { HediffComp_PregeneratedBabies comp = mother.health.hediffSet.GetFirstHediff().TryGetComp(); if (comp?.HasBaby ?? false)