From 8babac6378bb3c8d9337bd88c3253924d470155b Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Tue, 12 Jul 2022 14:47:42 -0700 Subject: [PATCH] Change argument name of GetMenstruationComp(vagina) for clarity --- .../RJW_Menstruation/HediffComps/MenstruationUtility.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }