Shift the fertility check above the switch in compPostTick

This commit is contained in:
lutepickle 2022-08-09 07:02:55 -07:00
parent a77988fd99
commit f19494fd5a
1 changed files with 2 additions and 2 deletions

View File

@ -543,6 +543,7 @@ namespace RJW_Menstruation
}
CumOut();
if (pregnancy == null && parent.pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) curStage = Stage.Young;
switch (curStage)
{
case Stage.Follicular:
@ -583,8 +584,7 @@ namespace RJW_Menstruation
default:
GoNextStage(Stage.Follicular);
break;
}
if (pregnancy == null && parent.pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) curStage = Stage.Young;
}
}
catch (Exception ex)
{