The pregnancy argument is unused in AnimalGeneticsCompatibility.PreConception, so just remove it

This commit is contained in:
lutepickle 2022-09-23 19:26:33 -07:00
parent 27dff9cf74
commit 1427d1ba81
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ namespace RJW_Menstruation
{
public static class AnimalGeneticsCompatibility
{
public static void PreConception(Pawn mother, Pawn father, Hediff_MultiplePregnancy pregnancy)
public static void PreConception(Pawn mother, Pawn father)
{
GeneticInformation motherGeneticInformation = mother?.AnimalGenetics();
GeneticInformation fatherGeneticInformation = father?.AnimalGenetics();

View file

@ -473,7 +473,7 @@ namespace RJW_Menstruation
public Pawn GenerateBaby(PawnGenerationRequest request, Pawn mother, Pawn father, List<Trait> parentTraits, int traitSeed)
{
if (Configurations.AnimalGeneticsActivated) AnimalGeneticsCompatibility.PreConception(mother, father, this);
if (Configurations.AnimalGeneticsActivated) AnimalGeneticsCompatibility.PreConception(mother, father);
Pawn baby = PawnGenerator.GeneratePawn(request);
if (Configurations.AnimalGeneticsActivated) AnimalGeneticsCompatibility.PostConception();
if (baby == null)