diff --git a/src/endWeek/saWhore.js b/src/endWeek/saWhore.js index 12ce38960d7ead346f9c7319acd268860ba6ab8e..efde335e33ddcb659d8a3ca26154ab99ff71b18b 100644 --- a/src/endWeek/saWhore.js +++ b/src/endWeek/saWhore.js @@ -41,7 +41,7 @@ window.saWhore = (function saWhore() { gatherStatistics(slave); updateNonSlaveVariables(slave); // must be run before applyFSDecoration() or you will face NaNs - if (slave.assignment === "work in the brothel") { + if (slave.assignment === "work in the brothel" || slave.assignment === "be the Madam") { // By being at the end, every slave after the first will get a bonus. By moving it up, the first can enjoy it too. slaveJobValues() checks Edo Rivalist, so here we are. applyFSDecoration(slave); } @@ -76,7 +76,12 @@ window.saWhore = (function saWhore() { * */ function gatherStatistics(slave) { /* Statistics gathering */ - const facility = slave.assignment === Job.BROTHEL ? V.facility.brothel : undefined; + let facility; + if (slave.assignment === Job.BROTHEL || slave.assignment === Job.MADAM) { + facility = V.facility.brothel; + } else { + facility = undefined; + } T.incomeStats = getSlaveStatisticData(slave, facility); }