New precepts should not add thoughts to children

This commit is contained in:
amevarashi 2022-10-29 15:23:25 +05:00
parent d483924c47
commit bf7f6a29fb
6 changed files with 12 additions and 6 deletions

View file

@ -15,7 +15,7 @@ namespace RJWSexperience.Ideology.PreceptWorkers
/// <returns></returns>
protected override ThoughtState ShouldHaveThought(Pawn p)
{
return PregnancyHelper.GetPregnancy(p)?.Visible == true;
return p?.DevelopmentalStage == DevelopmentalStage.Adult && PregnancyHelper.GetPregnancy(p)?.Visible == true;
}
}
}