mirror of
				https://github.com/amevarashi/RJW-Sexperience.git
				synced 2024-08-14 23:54:08 +00:00 
			
		
		
		
	Fix IsVirgin check
This commit is contained in:
		
							parent
							
								
									ffe6a9b7f7
								
							
						
					
					
						commit
						57fe883be0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -54,8 +54,8 @@ namespace RJWSexperience
 | 
			
		|||
		/// </summary>
 | 
			
		||||
		public static bool IsVirgin(this Pawn pawn)
 | 
			
		||||
		{
 | 
			
		||||
			return pawn.records.GetValue(RsDefOf.Record.VaginalSexCount) == 0 ||
 | 
			
		||||
				pawn.relations?.ChildrenCount > 0; // Male is a virgins unless he stick into vagina? Not sure it should work this way
 | 
			
		||||
			return pawn.records.GetValue(RsDefOf.Record.VaginalSexCount) == 0 &&
 | 
			
		||||
				(pawn.relations?.ChildrenCount ?? 0) < 1; // Male is a virgins unless he stick into vagina? Not sure it should work this way
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		/// <summary>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue