mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Null check pregnancy in PregnantAction
This commit is contained in:
parent
cddbb8313b
commit
9841aa145d
1 changed files with 1 additions and 1 deletions
|
@ -1509,7 +1509,7 @@ namespace RJW_Menstruation
|
|||
Implant();
|
||||
}
|
||||
|
||||
if (Pawn.health.hediffSet.hediffs.Contains(pregnancy))
|
||||
if (pregnancy != null && Pawn.health.hediffSet.hediffs.Contains(pregnancy))
|
||||
{
|
||||
curStageHrs += 1;
|
||||
StayCurrentStageConst(Stage.Pregnant);
|
||||
|
|
Loading…
Reference in a new issue