mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	The pregnancy argument is unused in AnimalGeneticsCompatibility.PreConception, so just remove it
This commit is contained in:
		
							parent
							
								
									27dff9cf74
								
							
						
					
					
						commit
						1427d1ba81
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -7,7 +7,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    public static class AnimalGeneticsCompatibility
 | 
					    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 motherGeneticInformation = mother?.AnimalGenetics();
 | 
				
			||||||
            GeneticInformation fatherGeneticInformation = father?.AnimalGenetics();
 | 
					            GeneticInformation fatherGeneticInformation = father?.AnimalGenetics();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -473,7 +473,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public Pawn GenerateBaby(PawnGenerationRequest request, Pawn mother, Pawn father, List<Trait> parentTraits, int traitSeed)
 | 
					        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);
 | 
					            Pawn baby = PawnGenerator.GeneratePawn(request);
 | 
				
			||||||
            if (Configurations.AnimalGeneticsActivated) AnimalGeneticsCompatibility.PostConception();
 | 
					            if (Configurations.AnimalGeneticsActivated) AnimalGeneticsCompatibility.PostConception();
 | 
				
			||||||
            if (baby == null)
 | 
					            if (baby == null)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue