diff --git a/src/endWeek/saGetMilked.js b/src/endWeek/saGetMilked.js index 958d008f60a372ec9eb2c864c1d6665243ea1dbd..b681d2450e8e38683ce90e31fa006461c23df48f 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?