mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Change argument name of GetMenstruationComp(vagina) for clarity
This commit is contained in:
		
							parent
							
								
									35b875980a
								
							
						
					
					
						commit
						8babac6378
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -44,11 +44,11 @@ namespace RJW_Menstruation
 | 
			
		|||
            return comps.Where(c => c.IsDangerDay).RandomElementWithFallback() ?? comps.RandomElementWithFallback();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public static HediffComp_Menstruation GetMenstruationComp(this Hediff hediff)
 | 
			
		||||
        public static HediffComp_Menstruation GetMenstruationComp(this Hediff vagina)
 | 
			
		||||
        {
 | 
			
		||||
            if (hediff is Hediff_PartBaseNatural || hediff is Hediff_PartBaseArtifical)
 | 
			
		||||
            if (vagina is Hediff_PartBaseNatural || vagina is Hediff_PartBaseArtifical)
 | 
			
		||||
            {
 | 
			
		||||
                return hediff.TryGetComp<HediffComp_Menstruation>();
 | 
			
		||||
                return vagina.TryGetComp<HediffComp_Menstruation>();
 | 
			
		||||
            }
 | 
			
		||||
            return null;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue