Have PregnantAction use get_Pregnancy instead since the same logic is in there

This commit is contained in:
lutepickle 2023-10-29 20:45:11 -07:00
parent d0eb2e8383
commit 68c4081f11
1 changed files with 1 additions and 6 deletions

View File

@ -1753,15 +1753,10 @@ namespace RJW_Menstruation
Implant(); Implant();
} }
if (pregnancy != null && Pawn.health.hediffSet.hediffs.Contains(pregnancy)) if (Pregnancy != null)
{
curStageTicks += TickInterval; curStageTicks += TickInterval;
}
else else
{
if (pregnancy != null) pregnancy = null;
GoNextStage(Stage.Recover); GoNextStage(Stage.Recover);
}
} }
protected virtual void RecoverAction() protected virtual void RecoverAction()