diff --git a/src/endWeek/healthFunctions.js b/src/endWeek/healthFunctions.js index 20df7e46ba51428d7c38a12d0780f8be710b51b0..87ef2d66064082f3b2575f8ea6302c0ac5ff553d 100644 --- a/src/endWeek/healthFunctions.js +++ b/src/endWeek/healthFunctions.js @@ -287,12 +287,12 @@ window.tired = function tired(slave) { // Living Conditions // PM - What they return to after a day of work. Do this after the assignment to allow kinder facility decorations. - if (slave.livingRules === "spare") { + if (slave.rules.living === "spare") { livingRules -= 1; // Barely reduce tiredness while sleeping in spare conditions if (V.dormitory < V.dormitoryPopulation) { livingRules += 5; // Overcrowding penalty } - } else if (slave.livingRules === "luxurious") { + } else if (slave.rules.living === "luxurious") { livingRules -= normalRandInt(10); // Reduces tired by an average of 10 points while sleeping under luxurious conditions // PM - Luxury rooms are rooms and not subject to overcrowding penalties. } else {