Copy SkinColorBase to enzygotic siblings and set baby graphics dirty afterwards

This commit is contained in:
lutepickle 2024-03-14 21:04:17 -07:00
parent 5b9d3ad08b
commit e447d1cc26
3 changed files with 4 additions and 0 deletions

Binary file not shown.

View file

@ -114,6 +114,7 @@ namespace RJW_Menstruation
baby.story.HairColor = firstbaby.story.HairColor;
baby.story.bodyType = firstbaby.story.bodyType;
baby.story.furDef = firstbaby.story.furDef;
baby.story.SkinColorBase = firstbaby.story.SkinColorBase;
baby.story.skinColorOverride = firstbaby.story.skinColorOverride;
}
@ -133,6 +134,7 @@ namespace RJW_Menstruation
PregnancyCommon.ProcessIdenticalSibling(baby, firstbaby);
}
}
baby.Drawer.renderer.SetAllGraphicsDirty();
babies.Add(baby);
// These get cleared out later, but setting the relations now will help keep track of things.
baby.SetMother(mother);

View file

@ -353,6 +353,7 @@ namespace RJW_Menstruation
baby.story.HairColor = firstbaby.story.HairColor;
baby.story.bodyType = firstbaby.story.bodyType;
baby.story.furDef = firstbaby.story.furDef;
baby.story.SkinColorBase = firstbaby.story.SkinColorBase;
baby.story.skinColorOverride = firstbaby.story.skinColorOverride;
}
@ -370,6 +371,7 @@ namespace RJW_Menstruation
AnimalGeneticsCompatibility.CopyGenes(baby, firstbaby);
}
}
baby.Drawer.renderer.SetAllGraphicsDirty();
babies.Add(baby);
}