From 5c56d70e9cf825be3bb7d08cfd3fe123f02d2dd5 Mon Sep 17 00:00:00 2001 From: Jones <Jones> Date: Thu, 4 Apr 2019 15:07:27 +0200 Subject: [PATCH] Typo fix --- src/js/economyJS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/economyJS.js b/src/js/economyJS.js index ff05dae9c0b..c50e6442ca8 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -908,7 +908,7 @@ window.NPCSexSupply = function(LC) { if(LC >= 0.5) { NPCSexSupply.lowerClass += Math.max(Math.trunc(NPCSexSupply.lowerClass * ((LC - 0.5) * (0.2 - V.sexSupplyBarriersLC / 25))), (50 * (1 - V.sexSupplyBarriersLC / 5))); // Max growth of 10% per week, unless it is really low, than a flat 50 } else if(LC < 0.5) { - if(NPCSexSupply.lowerClass > $lowerClass * (3 - V.sexSupplyBarriersLC / 2)) { // Natural market share of competitors is at least 30% + if(NPCSexSupply.lowerClass > V.lowerClass * (3 - V.sexSupplyBarriersLC / 2)) { // Natural market share of competitors is at least 30% NPCSexSupply.lowerClass -= Math.trunc(NPCSexSupply.lowerClass * ((0.5 - LC) / 5)); // Max reduction of 10% per week } } -- GitLab