Shift the HAR generation to only the first baby of a set.

This commit is contained in:
lutepickle 2022-11-26 15:20:16 -08:00
parent 82440db26b
commit c955221f64

View file

@ -426,10 +426,10 @@ namespace RJW_Menstruation
}
if (division > 1)
{
if (baby.IsHAR()) // necessary for HAR to decide on graphical properties pre-birth
baby.Drawer.renderer.graphics.ResolveAllGraphics();
if (i == 0)
{
{
if (baby.IsHAR()) // necessary for HAR to decide on graphical properties pre-birth
baby.Drawer.renderer.graphics.ResolveAllGraphics();
firstbaby = baby;
request.FixedGender = baby.gender;
request.ForcedEndogenes = baby.genes?.Endogenes.Select(gene => gene.def).ToList();