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
				
			
		| 
						 | 
				
			
			@ -23,6 +23,8 @@
 | 
			
		|||
- Issues with Elasticity References (#87)
 | 
			
		||||
- Null Pointer for LoveFeeding when finding Mechs. Thanks to @Jaaldabaoth (Fixes #90)
 | 
			
		||||
- Changes to the Implants introduced in 2.0.0 - they imposed a hidden dependency on Royalty (Fixes #89)
 | 
			
		||||
- Issues when generating relations (#98, fixed in #106 thanks @Jaaldabaoth)
 | 
			
		||||
- Hardening of Licentia Dependencies (#105)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
**Changes**:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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