From aa81fae8bd4ba1f2e5082cfe43560944e63c10d2 Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Thu, 14 Jul 2022 18:32:14 -0700 Subject: [PATCH] Let climacteric re-apply when anestrus goes back into season --- .../RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 3249621..8fcd081 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 @@ -1715,13 +1715,14 @@ namespace RJW_Menstruation protected void GoFollicularOrBleeding() { + bool climacteric = Configurations.EnableMenopause && ovarypower < OvaryPowerThreshold; if (Props.bleedingIntervalDays == 0) { - GoNextStage(Stage.Follicular); + GoNextStage(climacteric ? Stage.ClimactericFollicular : Stage.Follicular); } else { - GoNextStage(Stage.Bleeding); + GoNextStage(climacteric ? Stage.ClimactericBleeding : Stage.Bleeding); } }