mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Update use of HasGene to non-obsolete HasActiveGene
This commit is contained in:
parent
b5bfec7498
commit
1c62cb2293
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue