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

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