mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Slight simplification of SetEstrus
This commit is contained in:
		
							parent
							
								
									2b8d822542
								
							
						
					
					
						commit
						6e841a3836
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1031,9 +1031,8 @@ namespace RJW_Menstruation
 | 
			
		|||
            }
 | 
			
		||||
            else
 | 
			
		||||
            {
 | 
			
		||||
                HediffDef concealedEstrusDef = VariousDefOf.Hediff_Estrus_Concealed;
 | 
			
		||||
                Hediff concealedHediff = parent.pawn.health.hediffSet.GetFirstHediffOfDef(concealedEstrusDef);
 | 
			
		||||
                if (parent.pawn.health.hediffSet.HasHediff(concealedEstrusDef)) parent.pawn.health.RemoveHediff(concealedHediff);
 | 
			
		||||
                Hediff concealedHediff = parent.pawn.health.hediffSet.GetFirstHediffOfDef(VariousDefOf.Hediff_Estrus_Concealed);
 | 
			
		||||
                if (concealedHediff != null) parent.pawn.health.RemoveHediff(concealedHediff);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (hediff != null)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue