Have Miscarry remove the comp's pregnancy first, otherwise there's a possible infinite loop
This commit is contained in:
parent
0e04c7660b
commit
1f74ab9286
Binary file not shown.
|
@ -35,8 +35,8 @@ namespace RJW_Menstruation
|
|||
|
||||
public override void Miscarry()
|
||||
{
|
||||
base.Miscarry();
|
||||
this.GetMenstruationComp().Pregnancy = null;
|
||||
base.Miscarry();
|
||||
}
|
||||
|
||||
public override void GiveBirth()
|
||||
|
|
Loading…
Reference in New Issue