diff --git a/src/js/economyJS.js b/src/js/economyJS.js
index ff05dae9c0b492552a7c18e111c8dea1190210cf..c50e6442ca81be1acc7479a2975f07c89775d6e4 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
 		}
 	}