From e3588a2c9559edaf3e19ae919a803eaa99bb7f5b Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sat, 28 Mar 2020 19:13:27 -0400
Subject: [PATCH] correction

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

diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js
index 6adaba918e1..eca5c888587 100644
--- a/src/endWeek/healthFunctions.js
+++ b/src/endWeek/healthFunctions.js
@@ -643,16 +643,14 @@ window.tired = function tired(slave) {
 window.restEffects = function restEffects(slave, exhaustion) {
 	// exhaustion holds the weekly .tired gain from the assignment.
 	if (!slave.fuckdoll) {
-		if  {
-			if (slave.rules.rest === "mandatory") {
-				return .86;
-			} else if (slaveResting(slave)) {
-				return .25;
-			} else if (slave.tired + exhaustion >= 90 && !willWorkToDeath(slave)) {
-				return .10;
-			} else if (slave.tired > 90 && slave.assignment !== "work a glory hole") {
-				return .75;
-			}
+		if (slave.rules.rest === "mandatory") {
+			return .86;
+		} else if (slaveResting(slave)) {
+			return .25;
+		} else if (slave.tired + exhaustion >= 90 && !willWorkToDeath(slave)) {
+			return .10;
+		} else if (slave.tired > 90 && slave.assignment !== "work a glory hole") {
+			return .75;
 		}
 	}
 	return 1;
-- 
GitLab