From df7c7a160b4b3fac330ff38bc29d78f3a69db6cd Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 4 Mar 2020 21:06:24 -0500
Subject: [PATCH] use new functions

---
 src/interaction/budgets/recordTemplates.js | 4 ++--
 src/uncategorized/endWeek.tw               | 4 ++--
 src/uncategorized/newGamePlus.tw           | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/interaction/budgets/recordTemplates.js b/src/interaction/budgets/recordTemplates.js
index 764571c1ae0..1371fb8ffd9 100644
--- a/src/interaction/budgets/recordTemplates.js
+++ b/src/interaction/budgets/recordTemplates.js
@@ -86,7 +86,7 @@ App.Data.Records.LastWeeksCash = function() {
 	this.total = 0;
 };
 
-App.Data.Records.setupLastWeeksCash = function() {
+window.setupLastWeeksCash = function() {
 	V.lastWeeksCashIncome = new App.Data.Records.LastWeeksCash();
 	V.lastWeeksCashExpenses = new App.Data.Records.LastWeeksCash();
 	V.lastWeeksCashProfits = new App.Data.Records.LastWeeksCash();
@@ -158,7 +158,7 @@ App.Data.Records.LastWeeksRep = function() {
 	this.total = 0;
 };
 
-App.Data.Records.setupLastWeeksRep = function() {
+window.setupLastWeeksRep = function() {
 	V.lastWeeksRepIncome = new App.Data.Records.LastWeeksRep();
 	V.lastWeeksRepExpenses = new App.Data.Records.LastWeeksRep();
 	V.lastWeeksRepProfits = new App.Data.Records.LastWeeksRep();
diff --git a/src/uncategorized/endWeek.tw b/src/uncategorized/endWeek.tw
index 1bfc864e39a..cf6757fce58 100644
--- a/src/uncategorized/endWeek.tw
+++ b/src/uncategorized/endWeek.tw
@@ -2,8 +2,8 @@
 
 <<set State.expired.length = 0>>
 
-<<setupLastWeeksCash>>
-<<setupLastWeeksRep>>
+<<run setupLastWeeksCash()>>
+<<run setupLastWeeksRep()>>
 
 <<set $gingering = 0, $oralUseWeight = 5, $vaginalUseWeight = 5, $analUseWeight = 5, $mammaryUseWeight = 1, $penetrativeUseWeight = 1, $inflatedSlavesMilk = 0, $inflatedSlavesCum = 0, $subSlaves = 0>>
 
diff --git a/src/uncategorized/newGamePlus.tw b/src/uncategorized/newGamePlus.tw
index 7d042a64219..d396386253e 100644
--- a/src/uncategorized/newGamePlus.tw
+++ b/src/uncategorized/newGamePlus.tw
@@ -6,8 +6,8 @@
 <<if ndef $slavesToImportMax>><<set $slavesToImportMax = 5>><</if>>
 <<silently>><<include "Backwards Compatibility">><</silently>>
 <<set _fee = 50000+($slavesToImportMax*10000)>>
-<<setupLastWeeksCash>>
-<<setupLastWeeksRep>>
+<<run setupLastWeeksCash()>>
+<<run setupLastWeeksRep()>>
 
 You have decided to start over and will be able to take a few things with you: a few slaves, a small fraction of your current reserves of money, and possibly even your experience as an arcology owner, which will give you a very powerful career background. Many of your other customizations and settings will be carried over as the defaults for your new game, but can be revised freely.
 
-- 
GitLab