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

View file

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