mirror of
				https://github.com/vegapnk/RJW-Genes.git
				synced 2024-08-15 00:23:31 +00:00 
			
		
		
		
	Extra Licentia Checks in Likes Cumflation Gene to fix #105
This commit is contained in:
		
							parent
							
								
									5544740ec6
								
							
						
					
					
						commit
						92d90dd39e
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -28,6 +28,9 @@ namespace RJW_Genes
 | 
			
		|||
            
 | 
			
		||||
            if (props == null || props.pawn == null || props.partner == null) return;
 | 
			
		||||
 | 
			
		||||
            // Minor Hardening to help with #105
 | 
			
		||||
            if (!ModsConfig.IsActive("LustLicentia.RJWLabs")) return;
 | 
			
		||||
 | 
			
		||||
            if (props.pawn.genes != null && props.pawn.genes.HasActiveGene(GeneDefOf.rjw_genes_likes_cumflation) )
 | 
			
		||||
            {
 | 
			
		||||
                AddOrIncreaseCumflationCounterHediff(props.pawn);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue