Skip to content
Snippets Groups Projects
Commit e2056f92 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

tweak

parent 12196f47
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ App.UI.SlaveInteract.generateRows = function(array, slave, category, accessCheck
let unlocked = false;
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 lowercase name instead.
const 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 lowercase name instead.
unlocked = isItemAccessible.entry(text, category, slave);
} else {
unlocked = isItemAccessible.entry(array[i].updateSlave[category], category, slave);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment