Extra Licentia Checks in Likes Cumflation Gene to fix #105

This commit is contained in:
Vegapnk 2024-06-26 15:38:16 +02:00
parent 5544740ec6
commit 92d90dd39e
2 changed files with 5 additions and 0 deletions

View file

@ -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**:

View file

@ -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);