Properly put periodic ovulators into anestrus after recovering from birth

This commit is contained in:
lutepickle 2024-04-15 21:25:40 -07:00
parent 3cdccbd8cb
commit a748a520c0

View file

@ -92,6 +92,13 @@ namespace RJW_Menstruation
ticksToNextCycle = (int)Utility.VariationRange(averageCycleIntervalTicks, cycleVariability) / 2;
}
protected override void RecoverAction()
{
base.RecoverAction();
if (curStage != Stage.Recover)
GoNextStage(Stage.Anestrus);
}
protected override void AnestrusAction()
{
if (ticksToNextCycle <= 0 && IsBreedingSeason())