From 35124ba7a8292d9de84864e74557c43aa393cdd4 Mon Sep 17 00:00:00 2001 From: Blank_Alt <Blank_Alt> Date: Sat, 17 Dec 2022 21:18:07 +1300 Subject: [PATCH] Cleanup pass - II --- src/endWeek/reports/schoolroomReport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endWeek/reports/schoolroomReport.js b/src/endWeek/reports/schoolroomReport.js index 77aff4cc908..173cc97ac63 100644 --- a/src/endWeek/reports/schoolroomReport.js +++ b/src/endWeek/reports/schoolroomReport.js @@ -249,7 +249,7 @@ App.EndWeek.schoolroomReport = function() { slaveEntry.append(App.SlaveAssignment.saSlaveIntro(slave, `is studying in ${V.schoolroomName}${leaderTraining}.`)); if (tutorForSlave(slave) && slave.skill[uncapFirstChar(tutorForSlave(slave))] < Constant.MASTERED_XP) { const trainingPercentage = (slave.skill[uncapFirstChar(tutorForSlave(slave))] / Constant.MASTERED_XP) * 100; - slaveEntry.append(` ${He} is currently roughly ${Math.round(trainingPercentage)}% through training and should be finished in approximately ${numberWithPluralOne(Math.round(Constant.MASTERED_XP / trainingPercentage), "week")}.`); + slaveEntry.append(` ${He} is currently ${Math.round(trainingPercentage)}% through training and should be finished in approximately ${numberWithPluralOne(Math.round(Constant.MASTERED_XP / trainingPercentage), "week")}.`); } App.Events.addNode(slaveEntry, [He, App.SlaveAssignment.takeClasses(slave)], "div", ["indent"]); -- GitLab