From aa963db39b6efd2fafaf8fb8af3dfcd680dfa2b8 Mon Sep 17 00:00:00 2001
From: Jones <Jones>
Date: Fri, 9 Nov 2018 17:47:15 +0100
Subject: [PATCH] Econ bugfix

---
 devNotes/twine JS.txt | 4 ++--
 src/js/economyJS.tw   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt
index 56ca8f5d89a..709d26ab8b5 100644
--- a/devNotes/twine JS.txt	
+++ b/devNotes/twine JS.txt	
@@ -2046,7 +2046,7 @@ window.getCost = function(array) {
 	var foodCost = State.variables.foodCost;
 	var drugsCost = State.variables.drugsCost;
 	var facilityCost = State.variables.facilityCost;
-	var economy = State.variables.economy;
+	var localEcon = State.variables.localEcon;
 	var brothel = State.variables.brothel;
 	var arcade = State.variables.arcade;
 	var club = State.variables.club;
@@ -2155,7 +2155,7 @@ window.getCost = function(array) {
 	}
 
 	//general arcology costs
-	costs += (State.variables.girls * (250 + (50000 / economy)));
+	costs += (State.variables.girls * (250 + (50000 / localEcon)));
 
 	if(State.variables.arcologies[0].FSRepopulationFocusLaw === 1 && State.variables.PC.pregKnown == 1) {
 		costs -= 500;
diff --git a/src/js/economyJS.tw b/src/js/economyJS.tw
index 99cc80c6fcc..6338f588aa4 100644
--- a/src/js/economyJS.tw
+++ b/src/js/economyJS.tw
@@ -15,7 +15,7 @@ window.getCost = function(array) {
 	var foodCost = State.variables.foodCost;
 	var drugsCost = State.variables.drugsCost;
 	var facilityCost = State.variables.facilityCost;
-	var economy = State.variables.economy;
+	var localEcon = State.variables.localEcon;
 	var brothel = State.variables.brothel;
 	var arcade = State.variables.arcade;
 	var club = State.variables.club;
@@ -124,7 +124,7 @@ window.getCost = function(array) {
 	}
 
 	//general arcology costs
-	costs += (State.variables.girls * (250 + (50000 / economy)));
+	costs += (State.variables.girls * (250 + (50000 / localEcon)));
 
 	if(State.variables.arcologies[0].FSRepopulationFocusLaw === 1 && State.variables.PC.pregKnown == 1) {
 		costs -= 500;
-- 
GitLab