Ensure that Biotech babies are born at zero ticks of age

This commit is contained in:
lutepickle 2023-01-10 07:05:13 -08:00
parent 93566b5fa3
commit 7d8228e03a

View file

@ -163,6 +163,8 @@ namespace RJW_Menstruation
Pawn baby = comp.PopBaby();
if (baby == null) return PawnGenerator.GeneratePawn(request); // Shouldn't happen
baby.ageTracker.AgeBiologicalTicks = 0;
baby.ageTracker.AgeChronologicalTicks = 0;
if (request.ForceDead) baby.Kill(null, null);
return baby;
}