Compare commits

..

2 commits

Author SHA1 Message Date
Akiyami Solo
ad0033f249 Merge branch 'dev' into 'dev'
Breast fullness is not displayed and the "milk yourself" action is not invoked on a pawn when the rjw-mc-biotech mod is present

See merge request lutepickle/rjw_menstruation!6
2024-05-25 13:38:53 +00:00
lutepickle
1c62cb2293 Update use of HasGene to non-obsolete HasActiveGene 2024-05-24 07:58:40 -07:00
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -120,7 +120,7 @@ namespace RJW_Menstruation
string label = bestOutcome.label;
TaggedString description = bestOutcome.description.Formatted(mother.Named("MOTHER"));
if (baby.genes?.HasGene(GeneDefOf.Inbred) ?? false)
if (baby.genes?.HasActiveGene(GeneDefOf.Inbred) ?? false)
description += "\n\n" + "InbredBabyBorn".Translate();
baby.babyNamingDeadline = Find.TickManager.TicksGame + GenDate.TicksPerDay;