diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs index 9d77c1a..6328f2f 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs @@ -1031,9 +1031,8 @@ namespace RJW_Menstruation } else { - HediffDef concealedEstrusDef = VariousDefOf.Hediff_Estrus_Concealed; - Hediff concealedHediff = parent.pawn.health.hediffSet.GetFirstHediffOfDef(concealedEstrusDef); - if (parent.pawn.health.hediffSet.HasHediff(concealedEstrusDef)) parent.pawn.health.RemoveHediff(concealedHediff); + Hediff concealedHediff = parent.pawn.health.hediffSet.GetFirstHediffOfDef(VariousDefOf.Hediff_Estrus_Concealed); + if (concealedHediff != null) parent.pawn.health.RemoveHediff(concealedHediff); } if (hediff != null)