diff --git a/src/endWeek/saChoosesOwnJob.js b/src/endWeek/saChoosesOwnJob.js index cce21c5ae3b70a06984a5778db877733abb02789..88d92960c58d6ea1f81c0855351a694c8f7e5ba0 100644 --- a/src/endWeek/saChoosesOwnJob.js +++ b/src/endWeek/saChoosesOwnJob.js @@ -133,7 +133,7 @@ App.SlaveAssignment.choosesOwnJob = (function() { choice.push(assignJob(slave, "be a servant")); } } else if (V.universalRulesAssignsSelfFacility === 1 && slave.devotion > 50 && canWalk(slave) && canSee(slave) && V.nurseryNannies > nurseryL && (V.cribs.findIndex((c) => (c.mother === slave.ID || c.father === slave.ID)))) { - if (V.cribs.findIndex(function(c) { (c.mother === slave.ID || c.father === slave.ID); })) { + if (V.cribs.findIndex((c) => (c.mother === slave.ID || c.father === slave.ID))) { choice.push(`wants to look after ${his} child, so ${he} decides to work in ${V.nurseryName}.`); choice.push(assignJob(slave, "work as a nanny")); } else { // motherly sexualQuirk