From 73b315c80ef3e3834822191cd95b47d75f49eb25 Mon Sep 17 00:00:00 2001 From: ezsh <ezsh.junk@gmail.com> Date: Sun, 19 May 2019 21:14:30 +0200 Subject: [PATCH] Fix typo in printing out bodyguard name Closes #750. --- src/js/slaveListing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/slaveListing.js b/src/js/slaveListing.js index 5ded9cc39e2..344fa507603 100644 --- a/src/js/slaveListing.js +++ b/src/js/slaveListing.js @@ -595,7 +595,7 @@ App.UI.SlaveList.penthousePage = function () { /** @type {App.Entity.SlaveState} */ const BG = V.Bodyguard; if (BG) { - r += `<strong><u>${span(SlaveFullName(RC), "pink")}</u></strong> is serving as your bodyguard. `; + r += `<strong><u>${span(SlaveFullName(BG), "pink")}</u></strong> is serving as your bodyguard. `; r += span(`<strong>${App.UI.passageLink("Manage Bodyguard", "BG Select")}</strong>`, null, "manageBG") + span("[B]", "cyan"); r += App.UI.SlaveList.render([App.Utils.slaveIndexForId(BG.ID)], [], -- GitLab