From 582afb9cfe3b7e55b158bd24079e23e8097c865e Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Thu, 23 Jan 2020 23:57:38 -0500 Subject: [PATCH] variables --- src/endWeek/saStayConfined.js | 2 +- src/endWeek/saTakeClasses.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/endWeek/saStayConfined.js b/src/endWeek/saStayConfined.js index f64cc5c6caa..8d4a622c485 100644 --- a/src/endWeek/saStayConfined.js +++ b/src/endWeek/saStayConfined.js @@ -110,7 +110,7 @@ window.saStayConfined = function saStayConfined(slave) { let oldJob = V.assignmentRecords[slave.ID]; assignJobSafely(slave, oldJob); if (slave.choosesOwnAssignment === 1) { - t += ` and $he is resting before choosing another task.`; + t += ` and ${he} is resting before choosing another task.`; } else if (slave.assignment === "rest") { if (oldJob !== "rest") { t += ` and since ${he} was unable to return to ${his} old task to ${oldJob}, ${his} assignment has defaulted to rest.`; diff --git a/src/endWeek/saTakeClasses.js b/src/endWeek/saTakeClasses.js index 5e388369b7c..e18ffc65c03 100644 --- a/src/endWeek/saTakeClasses.js +++ b/src/endWeek/saTakeClasses.js @@ -417,7 +417,7 @@ window.saTakeClasses = (function saServeThePublic() { let oldJob = V.assignmentRecords[slave.ID]; assignJobSafely(slave, oldJob); if (slave.choosesOwnAssignment === 1) { - t += ` and $he is resting before choosing another task.`; + t += ` and ${he} is resting before choosing another task.`; } else if (slave.assignment === "rest") { if (oldJob !== "rest") { r += ` and since ${he} was unable to return to ${his} old task to ${oldJob}, ${his} assignment has defaulted to rest.`; -- GitLab