mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Properly put periodic ovulators into anestrus after recovering from birth
This commit is contained in:
parent
3cdccbd8cb
commit
a748a520c0
1 changed files with 7 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue