From 76b77b9dadb0767a90d3316afbd9c88a8045f503 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 3 Mar 2020 07:40:27 -0500
Subject: [PATCH] svorn fixes

---
 js/003-data/gameVariableData.js | 2 +-
 src/init/storyInit.tw           | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/js/003-data/gameVariableData.js b/js/003-data/gameVariableData.js
index 045bbf98108..34afec0aec2 100644
--- a/js/003-data/gameVariableData.js
+++ b/js/003-data/gameVariableData.js
@@ -1212,8 +1212,8 @@ App.Data.defaultGameStateVariables = {
 	// END OLD INIT VARIABLES SECTION, after this, variables were being created in other places in the game
 
 	shelterGirlsIDs: [], // Only needed in endweek loop
+	AProsperityCapModified: 0,
 	PCTitle: "",
-	lastWeeksCashErrors: "",
 	Sweatshops: 0,
 	thisWeeksFSWares: 0,
 	thisWeeksIllegalWares: 0,
diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw
index d5f0d69082b..b10831c1e2f 100644
--- a/src/init/storyInit.tw
+++ b/src/init/storyInit.tw
@@ -28,7 +28,6 @@ You should have received a copy of the GNU General Public License along with thi
 
 	<<set $PC = basePlayer()>>
 	<<run WombInit($PC)>>
-	<<set $assignmentRecords = {}>>
 	<<run cashX(10000, "personalBusiness")>>
 	<<include "Init Rules">>
 
@@ -98,9 +97,6 @@ You should have received a copy of the GNU General Public License along with thi
 	<<unset $corpAssetsDev, $corpAssetsDevOld, $corpAssetsSlave, $corpAssetsSlaveOld, $corpCash, $corpDiv, $corpDivArcadeFromMarket, $corpDivArcadeSlaves, $corpDivBreakFromMarket, $corpDivBreakSlaves, $corpDivBreakSlaves2, $corpDivBreakToMarket, $corpDivBreakToMenial, $corpDivBreakToSurgery, $corpDivBreakToTrain, $corpDivDairyFromMarket, $corpDivDairySlaves, $corpDivExtraSlaves, $corpDivExtraToArcade, $corpDivExtraToBreak, $corpDivExtraToMarket, $corpDividend, $corpDivLegalSlaves, $corpDivLegalToMarket, $corpDivLegalToMenial, $corpDivLegalToSurgery, $corpDivLegalToTrain, $corpDivMenialFromMarket, $corpDivMenialSlaves, $corpDivSurgeryFromMarket, $corpDivSurgerySlaves, $corpDivSurgerySlaves2, $corpDivSurgeryToDairy, $corpDivSurgeryToMarket, $corpDivSurgeryToTrain, $corpDivTrainFromMarket, $corpDivTrainSlaves, $corpDivTrainSlaves2, $corpDivTrainToMarket, $corpDivTrainToWhore, $corpDivWhoreFromMarket, $corpDivWhoreSlaves, $corpOpCostOld, $corpOverheadOld, $corpProfitOld, $corpRev, $corpRevOld, $corpSpecAccent, $corpSpecAge, $corpSpecAmputee, $corpSpecBalls, $corpSpecDevotion, $corpSpecDick, $corpSpecEducation, $corpSpecGender, $corpSpecGenitalia, $corpSpecHeight, $corpSpecHormones, $corpSpecImplants, $corpSpecInjection, $corpSpecIntelligence, $corpSpecMilk, $corpSpecMuscle, $corpSpecPussy, $corpSpecSexEd, $corpSpecTrust, $corpSpecVirgin, $corpSpecWeight, $dividendTimer, $personalShares, $publicShares>>
 
 <</if>>
-<<run $cribs.forEach(function(c) {
-	App.Facilities.Nursery.childInit(c);
-})>>
 /* Porn star counts (prestige 1) and ID's (prestige 3) */
 <<for _genre range App.Porn.getAllGenres()>>
 	<<set $pornStars[_genre.fameVar] = { p1count: 0, p3ID: 0 }>>
-- 
GitLab