mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Catch a womb with pregnancy set and not in the phase, which can happen when futzing with the debug actions.
This commit is contained in:
parent
6004b54e70
commit
c6f08d7601
1 changed files with 6 additions and 0 deletions
|
@ -564,6 +564,12 @@ namespace RJW_Menstruation
|
|||
return;
|
||||
}
|
||||
|
||||
if (Pregnancy != null && curStage != Stage.Pregnant)
|
||||
{
|
||||
Log.Warning($"{Pawn}'s womb has a pregnancy, but was not in the pregnant stage");
|
||||
curStage = Stage.Pregnant;
|
||||
}
|
||||
|
||||
CumOut();
|
||||
if (pregnancy == null && Pawn.health.capacities.GetLevel(xxx.reproduction) <= 0) curStage = Stage.Young;
|
||||
switch (curStage)
|
||||
|
|
Loading…
Reference in a new issue