From bd503276da5cdb742f5e299d0adaf2e9affad4b4 Mon Sep 17 00:00:00 2001
From: klorpa <30924131+klorpa@users.noreply.github.com>
Date: Wed, 19 Dec 2018 20:29:34 -0600
Subject: [PATCH] Revert

---
 src/js/datatypeCleanupJS.tw | 2 --
 src/js/storyJS.tw           | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/js/datatypeCleanupJS.tw b/src/js/datatypeCleanupJS.tw
index cef642ebd2a..7ee8f3bed3e 100644
--- a/src/js/datatypeCleanupJS.tw
+++ b/src/js/datatypeCleanupJS.tw
@@ -196,7 +196,6 @@ window.slavePregnancyDatatypeCleanup = function slavePregnancyDatatypeCleanup(sl
 	slave.prematureBirth = Math.clamp(+slave.prematureBirth, 0, 1) || 0;
 	slave.ovaries = Math.clamp(+slave.ovaries, 0, 1) || 0;
 	slave.vasectomy = Math.clamp(+slave.vasectomy, 0, 1) || 0;
-	slave.tubectomy = Math.clamp(+slave.tubectomy, 0, 1) || 0;
 	slave.mpreg = Math.clamp(+slave.mpreg, 0, 1) || 0;
 	slave.reservedChildren = WombReserveCount(slave, "incubator") || 0;
 	slave.reservedChildrenNursery = WombReserveCount(slave, "nursery") || 0;
@@ -766,7 +765,6 @@ window.childPregnancyDatatypeCleanup = function childPregnancyDatatypeCleanup(ch
 	child.prematureBirth = Math.clamp(+child.prematureBirth, 0, 1) || 0;
 	child.ovaries = Math.clamp(+child.ovaries, 0, 1) || 0;
 	child.vasectomy = Math.clamp(+child.vasectomy, 0, 1) || 0;
-	child.tubectomy = Math.clamp(+child.tubectomy, 0, 1) || 0;
 	child.mpreg = Math.clamp(+child.mpreg, 0, 1) || 0;
 	child.reservedChildren = WombReserveCount(child, "incubator") || 0;
 	child.reservedChildrenNursery = WombReserveCount(child, "nursery") || 0;
diff --git a/src/js/storyJS.tw b/src/js/storyJS.tw
index 0aa91267f9f..dbb8a400f2d 100644
--- a/src/js/storyJS.tw
+++ b/src/js/storyJS.tw
@@ -251,7 +251,7 @@ window.canGetPregnant = function(slave) {
 		return false;
 	} else if (!isFertile(slave)) { /* check other fertility factors */
 		return false;
-	} else if ((slave.ovaries == 1) && (slave.eggType != "sterile") && (slave.tubectomy == 0) && (canDoVaginal(slave))) {
+	} else if ((slave.ovaries == 1) && (slave.eggType != "sterile") && (canDoVaginal(slave))) {
 		return true;
 	} else if ((slave.mpreg == 1) && (canDoAnal(slave))) { /* pregmod */
 		return true;
-- 
GitLab