Little change in the baby generators to call EnsureGraphicsInitialized instead
This commit is contained in:
parent
1e803d52c6
commit
8f497764cb
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue