From 68a546798e9c5db90fe658ea1667d77616377366 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 29 Mar 2020 17:19:24 -0400
Subject: [PATCH] fix

---
 src/endWeek/healthFunctions.js | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js
index eca5c888587..67df7a92397 100644
--- a/src/endWeek/healthFunctions.js
+++ b/src/endWeek/healthFunctions.js
@@ -662,20 +662,24 @@ window.restEffects = function restEffects(slave, exhaustion) {
  */
 window.tiredFucks = function tiredFucks(slave) {
 	if (!slave.fuckdoll) {
+		let acceptance = 0;
+		acceptance += Math.trunc(slave.energy / 10);
+		acceptance -= Math.trunc((slave.intelligence + slave.intelligenceImplant) / 10);
+		if (slave.fetish === "masochist" || slave.fetish === "humiliation") {
+			acceptance += Math.trunc(slave.fetishStrength / 10);
+		}
 		if (slave.assignment === "work a glory hole") {
-			let acceptance = 0;
-			acceptance += Math.trunc(slave.energy / 10);
-			acceptance -= Math.trunc((slave.intelligence + slave.intelligenceImplant) / 10);
-			if (slave.fetish === "masochist" || slave.fetish === "humiliation") {
-				acceptance += Math.trunc(slave.fetishStrength / 10);
-			}
 			if ((acceptance > 20 && slave.devotion > 20) || slave.sexualFlaw === "self hating") {
 				slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 100);
 			} else {
 				slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 50);
 			}
 		} /*else {
-			slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 25);
+			if ((acceptance > 20 && slave.devotion > 20) || slave.sexualFlaw === "self hating") {
+				slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 50);
+			} else {
+				slave.health.tired += Math.trunc(slave.sexAmount * (1 + normalRandInt(0, 5) / 100) / 25);
+			}
 		}*/
 	}
 };
-- 
GitLab