private static void ResolveMySkinColor(ref PawnGenerationRequest request, Pawn generated)
 {
     if (!request.FixedMelanin.HasValue)
     {
         request.SetFixedMelanin(ChildRelationUtility.GetRandomChildSkinColor(generated.GetFather().story.melanin, generated.GetMother().story.melanin));
     }
 }
 private static void ResolveMySkinColor(ref PawnGenerationRequest request, Pawn generatedChild)
 {
     if (!request.FixedMelanin.HasValue)
     {
         if (generatedChild.GetFather() != null && generatedChild.GetMother() != null)
         {
             request.SetFixedMelanin(ChildRelationUtility.GetRandomChildSkinColor(generatedChild.GetFather().story.melanin, generatedChild.GetMother().story.melanin));
         }
         else if (generatedChild.GetFather() != null)
         {
             request.SetFixedMelanin(PawnSkinColors.GetRandomMelaninSimilarTo(generatedChild.GetFather().story.melanin));
         }
         else
         {
             request.SetFixedMelanin(PawnSkinColors.GetRandomMelaninSimilarTo(generatedChild.GetMother().story.melanin));
         }
     }
 }