mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Don't fertilize from destroyed pawns
This commit is contained in:
		
							parent
							
								
									1cdb12fd3a
								
							
						
					
					
						commit
						c6e4d81a20
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1338,7 +1338,7 @@ namespace RJW_Menstruation
 | 
			
		|||
        protected Pawn Fertilize()
 | 
			
		||||
        {
 | 
			
		||||
            if (cums.NullOrEmpty()) return null;
 | 
			
		||||
            List<Cum> eligibleCum = cums.FindAll(cum => !cum.notcum && cum.FertVolume > 0 && cum.pawn != null && (RJWPregnancySettings.bestial_pregnancy_enabled || xxx.is_animal(Pawn) == xxx.is_animal(cum.pawn)));
 | 
			
		||||
            List<Cum> eligibleCum = cums.FindAll(cum => !cum.notcum && cum.FertVolume > 0 && !(cum.pawn?.Destroyed ?? true) && (RJWPregnancySettings.bestial_pregnancy_enabled || xxx.is_animal(Pawn) == xxx.is_animal(cum.pawn)));
 | 
			
		||||
            if (eligibleCum.Count == 0) return null;
 | 
			
		||||
 | 
			
		||||
            float totalFertPower = eligibleCum.Sum(cum => cum.FertVolume);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue