diff --git a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs index 8159dad..bbe01c2 100644 --- a/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs +++ b/1.3/source/RJW_Menstruation/RJW_Menstruation/HediffComps/MenstruationUtility.cs @@ -44,11 +44,11 @@ namespace RJW_Menstruation return comps.Where(c => c.IsDangerDay).RandomElementWithFallback() ?? comps.RandomElementWithFallback(); } - public static HediffComp_Menstruation GetMenstruationComp(this Hediff hediff) + public static HediffComp_Menstruation GetMenstruationComp(this Hediff vagina) { - if (hediff is Hediff_PartBaseNatural || hediff is Hediff_PartBaseArtifical) + if (vagina is Hediff_PartBaseNatural || vagina is Hediff_PartBaseArtifical) { - return hediff.TryGetComp(); + return vagina.TryGetComp(); } return null; }