mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Call ResolveAllGraphics unconditionally for babies. Also copy skinColorOverride for twins
This commit is contained in:
parent
d34c96315a
commit
93566b5fa3
2 changed files with 7 additions and 5 deletions
|
@ -98,7 +98,6 @@ namespace RJW_Menstruation
|
|||
{
|
||||
if (i == 0)
|
||||
{
|
||||
if (baby.IsHAR())
|
||||
baby.Drawer.renderer.graphics.ResolveAllGraphics();
|
||||
firstbaby = baby;
|
||||
request.FixedGender = baby.gender;
|
||||
|
@ -114,6 +113,7 @@ namespace RJW_Menstruation
|
|||
baby.story.hairDef = firstbaby.story.hairDef;
|
||||
baby.story.bodyType = firstbaby.story.bodyType;
|
||||
baby.story.furDef = firstbaby.story.furDef;
|
||||
baby.story.skinColorOverride = firstbaby.story.skinColorOverride;
|
||||
}
|
||||
|
||||
if (baby.genes != null)
|
||||
|
|
|
@ -335,7 +335,8 @@ namespace RJW_Menstruation
|
|||
{
|
||||
if (i == 0)
|
||||
{
|
||||
if (baby.IsHAR()) // Have HAR determine the first baby's properties
|
||||
// HAR and some xenotype mods don't randomize graphics until it's rendered
|
||||
// So poke it early
|
||||
baby.Drawer.renderer.graphics.ResolveAllGraphics();
|
||||
firstbaby = baby;
|
||||
request.FixedGender = baby.gender;
|
||||
|
@ -351,6 +352,7 @@ namespace RJW_Menstruation
|
|||
baby.story.hairDef = firstbaby.story.hairDef;
|
||||
baby.story.bodyType = firstbaby.story.bodyType;
|
||||
baby.story.furDef = firstbaby.story.furDef;
|
||||
baby.story.skinColorOverride = firstbaby.story.skinColorOverride;
|
||||
}
|
||||
|
||||
if (baby.genes != null && ModsConfig.BiotechActive)
|
||||
|
|
Loading…
Reference in a new issue