From caba00ad04ea9081c6f91996ab1a3898be0d2de6 Mon Sep 17 00:00:00 2001 From: Pregmodder <pregmodder@gmail.com> Date: Thu, 12 Dec 2019 20:59:00 -0500 Subject: [PATCH] Fix for milking --- src/endWeek/saGetMilked.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endWeek/saGetMilked.js b/src/endWeek/saGetMilked.js index 958d008f60a..b681d2450e8 100644 --- a/src/endWeek/saGetMilked.js +++ b/src/endWeek/saGetMilked.js @@ -96,7 +96,7 @@ window.saGetMilked = (function saGetMilked() { function jobPreface(slave) { r += `gets milked this week.`; if (V.dairy > 0 && V.dairyRestraintsSetting < 2) { - if ((V.universalRulesFacilityWork === 1 && V.slave.assignment === "get milked" && V.dairySpots > 0) || (slave.assignment === "work in the dairy")) { + if ((V.universalRulesFacilityWork === 1 && slave.assignment === "get milked" && V.dairySpots > 0) || (slave.assignment === "work in the dairy")) { if (slave.assignment === "get milked") { r += ` Since there's extra space in ${V.dairyName}, ${he} spends most of ${his} milkings there.`; V.dairySpots -= 1; // Would this need to be pulled for statistics gathering? -- GitLab