Also add the father/mother check to the childbirth ritual

This commit is contained in:
lutepickle 2024-07-26 22:26:52 -07:00
parent d4f8312cee
commit ad7919a25b
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -294,6 +294,7 @@ namespace RJW_Menstruation
{
Pawn baby = comp.PeekBaby();
Pawn thisFather = baby.GetFather() ?? father;
if (thisFather == geneticMother || thisFather == mother) thisFather = null;
baby.relations.ClearAllRelations();
PregnancyUtility.ApplyBirthOutcome(outcome, quality, ritual, genes, geneticMother, birtherThing, thisFather, doctor, lordJobRitual, assignments);