mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Handle a null pawn's cum in fertilization
This commit is contained in:
		
							parent
							
								
									156dfc5f3e
								
							
						
					
					
						commit
						f1fcbf13c1
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -1113,10 +1113,10 @@ namespace RJW_Menstruation
 | 
				
			||||||
        protected Pawn Fertilize()
 | 
					        protected Pawn Fertilize()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            if (cums.NullOrEmpty()) return null;
 | 
					            if (cums.NullOrEmpty()) return null;
 | 
				
			||||||
            float totalFertPower = 0;
 | 
					            List<Cum> eligibleCum = cums.FindAll(cum => cum.FertVolume > 0 && cum.pawn != null && (RJWPregnancySettings.bestial_pregnancy_enabled || xxx.is_animal(parent.pawn) == xxx.is_animal(cum.pawn)));
 | 
				
			||||||
            List<Cum> eligibleCum = cums.FindAll(cum => cum.FertVolume > 0 && (RJWPregnancySettings.bestial_pregnancy_enabled || xxx.is_animal(parent.pawn) == xxx.is_animal(cum.pawn)));
 | 
					 | 
				
			||||||
            if (eligibleCum.Count == 0) return null;
 | 
					            if (eligibleCum.Count == 0) return null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            float totalFertPower = 0;
 | 
				
			||||||
            foreach (Cum cum in eligibleCum)
 | 
					            foreach (Cum cum in eligibleCum)
 | 
				
			||||||
                totalFertPower += cum.FertVolume;
 | 
					                totalFertPower += cum.FertVolume;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue