mirror of
				https://github.com/vegapnk/RJW-Genes.git
				synced 2024-08-15 00:23:31 +00:00 
			
		
		
		
	Minor Cleanup for Egg Fertilization
This commit is contained in:
		
							parent
							
								
									5ae3d0b13f
								
							
						
					
					
						commit
						a3fdf3bc48
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -14,9 +14,8 @@ namespace RJW_Genes
 | 
			
		|||
    /// Normal Egg-Pregnancy logic is in https://gitgud.io/Ed86/rjw/-/blob/master/1.4/Source/Modules/Pregnancy/Pregnancy_Helper.cs
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    [HarmonyPatch(typeof(SexUtility), "Aftersex")]
 | 
			
		||||
    static class PatchEggFertilizationHelper
 | 
			
		||||
    static class Patch_EggFertilization
 | 
			
		||||
    {
 | 
			
		||||
        [HarmonyTranspiler]
 | 
			
		||||
        public static void Postfix(SexProps props)
 | 
			
		||||
        {
 | 
			
		||||
            // Only Fertilize on vaginal / anal sex
 | 
			
		||||
| 
						 | 
				
			
			@ -59,7 +58,7 @@ namespace RJW_Genes
 | 
			
		|||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        private static Boolean canDoEggFertilization(Pawn a, Pawn b)
 | 
			
		||||
        private static bool canDoEggFertilization(Pawn a, Pawn b)
 | 
			
		||||
        {
 | 
			
		||||
 | 
			
		||||
            // No Partner / Other Errors
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue