From 9815c5b654d447445f2ddb26ac7a4b0b4e7199a0 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Tue, 10 Dec 2019 16:37:53 -0500
Subject: [PATCH] Fix and update

---
 Changelog.txt                               | 6 ++++++
 src/uncategorized/BackwardsCompatibility.tw | 7 ++++++-
 src/uncategorized/options.tw                | 3 +++
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/Changelog.txt b/Changelog.txt
index 4cf710242df..d354cac41db 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -2,6 +2,12 @@ Pregmod
 
 0.10.7.1-3.1.x
 
+	12/10/2019
+
+	2
+	-fixed critical error in BC player object conversion
+	-temporarily added option to remove accidental dicks from the player to options
+
 	12/09/2019
 
 	1
diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw
index 72201cb8885..d041a90d9b8 100644
--- a/src/uncategorized/BackwardsCompatibility.tw
+++ b/src/uncategorized/BackwardsCompatibility.tw
@@ -665,6 +665,11 @@
 		<<if $PC.ballsImplant > 0>>
 			<<set _newPC.ballsImplant = _newPC.balls-3>>
 		<</if>>
+	<<else>>
+		<<set _newPC.dick = 0>>
+		<<set _newPC.prostate = 0>>
+		<<set _newPC.balls = 0>>
+		<<set _newPC.scrotum = 0>>
 	<</if>>
 	<<set _newPC.newVag = $PC.newVag>>
 	<<if $PC.vagina == 1>>
@@ -775,7 +780,7 @@
 	Standardizing player object... Done!<br>
 <</if>>
 
-<<run PCDatatypeCleanup()>>
+/*<<run PCDatatypeCleanup()>>*/
 
 <<run BCReserveInit()>>
 
diff --git a/src/uncategorized/options.tw b/src/uncategorized/options.tw
index a50d29c4926..20e9c977767 100644
--- a/src/uncategorized/options.tw
+++ b/src/uncategorized/options.tw
@@ -66,6 +66,9 @@ This save was created using FC version $ver build $releaseID.
 <<if isNaN($cash)>>
 	<br>[[Reset Money|Options][$cash = 500]]
 <</if>>
+<<if $releaseID == 1057>>
+	<br>[[Free male anatomy removal due to accidentally flawed updater|Options][$PC.dick = 0, $PC.balls = 0, $PC.prostate = 0, $PC.scrotum = 0, $PC.ballsImplant = 0]] //Use this if your female PC picked up a few extra parts during the conversion process.//
+<</if>>
 
 <<if ($releaseID >= 1000) || $ver.startsWith("0.9") || $ver.startsWith("0.8") || $ver.startsWith("0.7") || $ver.startsWith("0.6")>>
 	<br><br>
-- 
GitLab