diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js index 6adaba918e1777895f2a07996e5c6c22f897451b..eca5c888587b87f2ae01eb6aa238bad9e09f9c32 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;