mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Probably can't happen, but add a check in GiveBirth for null menstruation comp
This commit is contained in:
		
							parent
							
								
									d0210c23bf
								
							
						
					
					
						commit
						3f3977b3c7
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -67,7 +67,8 @@ namespace RJW_Menstruation
 | 
			
		|||
            }
 | 
			
		||||
 | 
			
		||||
            pawn.health.RemoveHediff(this);
 | 
			
		||||
            this.GetMenstruationComp().Pregnancy = null;
 | 
			
		||||
            HediffComp_Menstruation comp = this.GetMenstruationComp();
 | 
			
		||||
            if(comp != null) comp.Pregnancy = null;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string GetBabyInfo()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue