diff --git a/src/uncategorized/brothelReport.js b/src/uncategorized/brothelReport.js index 63308f22c4228b35a8007c4edfd9b0d2875474fd..33d52281cdf57e31f83679c4a86445eccc6aa4d8 100644 --- a/src/uncategorized/brothelReport.js +++ b/src/uncategorized/brothelReport.js @@ -350,7 +350,7 @@ globalThis.brothelReport = function() { profits += V.cash - oldCash; // Record statistics gathering - let b = State.variables.facility.brothel; + const b = V.facility.brothel; b.whoreIncome = 0; b.customers = 0; b.whoreCosts = 0; @@ -361,8 +361,8 @@ globalThis.brothelReport = function() { b.whoreCosts += si.cost; b.rep += si.rep; } - b.adsCosts = State.variables.brothelAdsSpending; - b.maintenance = State.variables.brothel * State.variables.facilityCost * (1.0 + 0.2 * State.variables.brothelUpgradeDrugs); + b.adsCosts = V.brothelAdsSpending; + b.maintenance = V.brothel * V.facilityCost * (1.0 + 0.2 * V.brothelUpgradeDrugs); b.totalIncome = b.whoreIncome + b.adsIncome; b.totalExpenses = b.whoreCosts + b.adsCosts + b.maintenance; b.profit = b.totalIncome - b.totalExpenses;