From 9cdb887bdd7fc70a6f9cee0a473b1466183572f6 Mon Sep 17 00:00:00 2001 From: lutepickle <28810-lutepickle@users.noreply.gitgud.io> Date: Mon, 31 Jul 2023 05:44:18 -0700 Subject: [PATCH] If implant errors, see if there's a loose pregnancy to take. --- .../RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs b/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs index 74173fe..6daf772 100644 --- a/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs +++ b/1.4/source/RJW_Menstruation/RJW_Menstruation/HediffComps/HediffComp_Menstruation.cs @@ -1492,6 +1492,7 @@ namespace RJW_Menstruation catch (Exception ex) { Log.Error($"Error creating pregnancy in {Pawn}'s womb, father {egg.fertilizer}: {ex}"); + TakeLoosePregnancy(); deadeggs.Add(egg); } }