mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Don't let BabyHalfAge be 0
This commit is contained in:
		
							parent
							
								
									6701785462
								
							
						
					
					
						commit
						e18e1892ad
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -69,7 +69,7 @@ namespace RJW_Menstruation
 | 
			
		|||
        {
 | 
			
		||||
            get
 | 
			
		||||
            {
 | 
			
		||||
                if (babyHalfAge >= 0f) return babyHalfAge;
 | 
			
		||||
                if (babyHalfAge > 0f) return babyHalfAge;
 | 
			
		||||
                List<LifeStageAge> ages = parent.pawn.def.race.lifeStageAges;
 | 
			
		||||
                if (ages?.Count > 1)
 | 
			
		||||
                    babyHalfAge = ages[1].minAge / 2;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue