From 080d73e2c1b6db693c2fe9b0a8602aa34c409630 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Tue, 18 Dec 2018 01:50:03 -0500
Subject: [PATCH] potential fix

---
 devNotes/twine JS.txt | 2 ++
 src/js/wombJS.tw      | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt
index 5eb0ca58ae4..58800013163 100644
--- a/devNotes/twine JS.txt	
+++ b/devNotes/twine JS.txt	
@@ -11458,6 +11458,7 @@ window.WombRemoveFetus = function(actor, fetusNum)
 		let ft = actor.womb[fetusNum];
 		actor.womb.splice(fetusNum, 1);
 		WombSort(actor);
+		actor.pregType = actor.womb.length;
 		return ft;
 	}
 	else
@@ -11514,6 +11515,7 @@ window.WombCleanYYFetuses = function(actor)
 
 		i--;
 	}
+	actor.pregType = actor.womb.length;
 
 	return reserved;
 }
diff --git a/src/js/wombJS.tw b/src/js/wombJS.tw
index 108bcdb2b31..ef5f378bf9d 100644
--- a/src/js/wombJS.tw
+++ b/src/js/wombJS.tw
@@ -491,6 +491,7 @@ window.WombRemoveFetus = function(actor, fetusNum)
 		let ft = actor.womb[fetusNum];
 		actor.womb.splice(fetusNum, 1);
 		WombSort(actor);
+		actor.pregType = actor.womb.length;
 		return ft;
 	}
 	else
@@ -547,6 +548,7 @@ window.WombCleanYYFetuses = function(actor)
 
 		i--;
 	}
+	actor.pregType = actor.womb.length;
 
 	return reserved;
 }
-- 
GitLab