diff --git a/src/js/DefaultRules.tw b/src/js/DefaultRules.tw index 2f79ad354c2ed8d87cc1df71b154b042865437ac..2c9771b7c632cbdfe58f0e24a99ea094c30e9400 100644 --- a/src/js/DefaultRules.tw +++ b/src/js/DefaultRules.tw @@ -286,9 +286,6 @@ window.DefaultRules = (function() { case "work as a servant": r += `<br>${slave.slaveName} has been automatically assigned to work in ${V.servantsQuartersName}.`; break; - case "work as a servant": - r += `<br>${slave.slaveName} has been automatically assigned to work in ${V.servantsQuartersName}.`; - break; case "learn in the schoolroom": r += `<br>${slave.slaveName} has been automatically assigned to study in ${V.schoolroomName}.`; break; diff --git a/src/js/rulesAssistantOptions.tw b/src/js/rulesAssistantOptions.tw index 7f8990ee42014e72b06bfaa4951c8832b6885301..e9d6910400107c0e4a5c16b4927261e6bb9df99f 100644 --- a/src/js/rulesAssistantOptions.tw +++ b/src/js/rulesAssistantOptions.tw @@ -773,14 +773,14 @@ window.rulesAssistantOptions = (function() { if (V.club > 0) items.push("Club"); if (V.arcade > 0) items.push("Arcade"); if (V.dairy > 0) items.push("Dairy"); - if (V.servantQuarters > 0) items.push("Servant Quarters"); + if (V.servantsQuarters > 0) items.push("Servant Quarters"); if (V.masterSuite > 0) items.push("Master Suite"); if (V.schoolroom > 0) items.push("Schoolroom"); if (V.spa > 0) items.push("Spa"); if (V.clinic > 0) items.push("Clinic"); if (V.cellblock > 0) items.push("Cellblock"); items.forEach( - i => this.appendChild(new ButtonItem(i, this.getAttribute(i), current_rule.condition.assignment.includes(i)))); + i => this.appendChild(new ButtonItem(i, this.getAttribute(i), current_rule.condition.assignment.includes(this.getAttribute(i))))); } onchange() {