From 971ab25c24f63dc4bf94b203914a70b3b4af208b Mon Sep 17 00:00:00 2001
From: Jones <Jones>
Date: Sun, 8 Dec 2019 22:25:41 +0100
Subject: [PATCH] small fix

---
 src/js/economyJS.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/js/economyJS.js b/src/js/economyJS.js
index d36eb5a8722..f4200b264b1 100644
--- a/src/js/economyJS.js
+++ b/src/js/economyJS.js
@@ -1553,14 +1553,7 @@ window.slaveJobValues = function(lowerClassSexDemandRef, middleClassSexDemandRef
 		}
 
 		// The amount of sexual acts
-		s.sexAmount = Beauty(s);
-
-		if (s.assignment === "be the Madam") {
-			if ((BL + toTheBrothelTotal > 0) && (CL + toTheBrothelTotal < 10)) {
-				s.sexAmount *= ((10 - CL - toTheBrothelTotal) / 10) * 1.5;
-			}
-		}
-		s.sexAmount = Math.trunc(s.sexAmount * beautyMultiplier * (1 + (0.002 * s.skill.whoring)));
+		s.sexAmount = Math.trunc(Beauty(s) * beautyMultiplier * (1 + (0.002 * s.skill.whoring)));
 
 		// The quality/value of each sexual act
 		s.sexQuality = FResult(s);
@@ -1644,6 +1637,13 @@ window.slaveJobValues = function(lowerClassSexDemandRef, middleClassSexDemandRef
 			s.whoreClass = 0;
 		}
 		whoreScore(s, lowerClassSexDemandRef, middleClassSexDemandRef, upperClassSexDemandRef, topClassSexDemandRef);
+
+		if (s.assignment === "be the Madam") {
+			if ((BL + toTheBrothelTotal > 0) && (BL + toTheBrothelTotal < 10)) {
+				s.sexAmount = Math.trunc(s.sexAmount * ((10 - BL - toTheBrothelTotal) / 10));
+				s.sexQuality = Math.trunc(s.sexQuality * 1.2);
+			}
+		}
 	}
 
 	return slaveJobValues;
-- 
GitLab