mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Use Max for the avglittersize
This commit is contained in:
		
							parent
							
								
									096f941762
								
							
						
					
					
						commit
						96c81c70bf
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -970,7 +970,7 @@ namespace RJW_Menstruation
 | 
			
		|||
            float avglittersize;
 | 
			
		||||
            try
 | 
			
		||||
            {
 | 
			
		||||
                avglittersize = Mathf.Min(Rand.ByCurveAverage(pawn.def.race.litterSizeCurve), 1.0f);
 | 
			
		||||
                avglittersize = Mathf.Max(Rand.ByCurveAverage(pawn.def.race.litterSizeCurve), 1.0f);
 | 
			
		||||
            }
 | 
			
		||||
            catch (NullReferenceException)
 | 
			
		||||
            {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue