Biotech births change parent kind defs away from creepjoiners, so match the behavior

This commit is contained in:
lutepickle 2024-05-15 21:47:13 -07:00
parent 9654c4e347
commit 2d1404fcba

View file

@ -68,6 +68,9 @@ namespace RJW_Menstruation
PawnKindDef motherKindDef = Utility.GetRacesPawnKind(mother); PawnKindDef motherKindDef = Utility.GetRacesPawnKind(mother);
PawnKindDef fatherKindDef = Utility.GetRacesPawnKind(father); PawnKindDef fatherKindDef = Utility.GetRacesPawnKind(father);
if (motherKindDef is CreepJoinerFormKindDef) motherKindDef = PawnKindDefOf.Colonist;
if (fatherKindDef is CreepJoinerFormKindDef) fatherKindDef = PawnKindDefOf.Colonist;
PawnKindDef spawn_kind_def = motherKindDef; PawnKindDef spawn_kind_def = motherKindDef;
int flag = 0; int flag = 0;