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

fix missing smell and taste

parent a2ef8e90
No related branches found
No related tags found
1 merge request!8694fix missing smell and taste surgical options
......@@ -1162,7 +1162,9 @@ App.UI.surgeryPassageHairAndFace = function(slave, cheat = false) {
} else {
r.push(`${He} has an impaired chemosensory system.`);
}
App.Events.addNode(el, r, "div");
if (slave.indentureRestrictions < 1) {
linkArray = [];
if (slave.smells === 0 && V.seeExtreme === 1) {
linkArray.push(makeLink(
"Remove sense of smell",
......@@ -1201,6 +1203,7 @@ App.UI.surgeryPassageHairAndFace = function(slave, cheat = false) {
}
));
}
App.UI.DOM.appendNewElement("div", el, App.UI.DOM.generateLinksStrip(linkArray), "choices");
}
return el;
......
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