Little change in the baby generators to call EnsureGraphicsInitialized instead

This commit is contained in:
lutepickle 2024-05-05 11:01:48 -07:00
parent 1e803d52c6
commit 8f497764cb
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ namespace RJW_Menstruation
PregnancyCommon.SetupBabyXenotype(mother, father, baby); // Probably redundant with Biotech post-birth xenotyping
// HAR and some xenotype mods don't randomize graphics until it's rendered
// So poke it early
baby.Drawer.renderer.renderTree.EnsureInitialized(PawnRenderFlags.DrawNow);
baby.Drawer.renderer.EnsureGraphicsInitialized();
if (division > 1)
{

View file

@ -332,7 +332,7 @@ namespace RJW_Menstruation
PregnancyCommon.SetupBabyXenotype(mother, father, baby);
// HAR and some xenotype mods don't randomize graphics until it's rendered
// So poke it early
baby.Drawer.renderer.renderTree.EnsureInitialized(PawnRenderFlags.DrawNow);
baby.Drawer.renderer.EnsureGraphicsInitialized();
if (division > 1)
{