From bd85b331f05ab9953bab1faf808ef27c80c84ac5 Mon Sep 17 00:00:00 2001 From: Svornost <11434-svornost@users.noreply.gitgud.io> Date: Fri, 8 May 2020 12:11:46 -0700 Subject: [PATCH] Remove a bit of useless string interpolation --- src/interaction/slaveInteract.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interaction/slaveInteract.js b/src/interaction/slaveInteract.js index bf4e9550e6f..14c81c8d130 100644 --- a/src/interaction/slaveInteract.js +++ b/src/interaction/slaveInteract.js @@ -3150,9 +3150,9 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck if (accessCheck === true) { if (category === "chastity") { let text = array[i].text.toLowerCase(); // Yucky. Category name does not match for chastity (since it sets multiple kinds of chastity at once). Compare using a lowercased name instead. - unlocked = isItemAccessible.entry(text, `${category}`, slave); + unlocked = isItemAccessible.entry(text, category, slave); } else { - unlocked = isItemAccessible.entry(array[i].updateSlave[category], `${category}`, slave); + unlocked = isItemAccessible.entry(array[i].updateSlave[category], category, slave); } } if (accessCheck === false || unlocked) { -- GitLab