Refactor InfertileAction
This commit is contained in:
parent
441ee1de48
commit
0a24b5556f
|
@ -1793,14 +1793,11 @@ namespace RJW_Menstruation
|
|||
protected virtual void InfertileAction()
|
||||
{
|
||||
if (ShouldBeInfertile())
|
||||
{
|
||||
StayCurrentStageConst(Stage.Infertile);
|
||||
}
|
||||
else if (IsBreedingSeason())
|
||||
GoNextStage(Stage.Follicular);
|
||||
else
|
||||
{
|
||||
bool breedingSeason = IsBreedingSeason();
|
||||
GoNextStage(breedingSeason ? Stage.Follicular : Stage.Anestrus, breedingSeason ? (int?)null : 0);
|
||||
}
|
||||
GoNextStage(Stage.Anestrus);
|
||||
}
|
||||
|
||||
protected virtual void AnestrusAction()
|
||||
|
|
Loading…
Reference in New Issue