From 76c403dfb7bc56e66398225e1813016f2f2ef8d6 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Wed, 9 Dec 2020 16:23:45 -0500
Subject: [PATCH] fix nipple piercing display

---
 src/facilities/bodyModification/bodyModification.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/facilities/bodyModification/bodyModification.js b/src/facilities/bodyModification/bodyModification.js
index da7f2104d26..70a831e23d0 100644
--- a/src/facilities/bodyModification/bodyModification.js
+++ b/src/facilities/bodyModification/bodyModification.js
@@ -203,7 +203,11 @@ App.UI.bodyModification = function(slave, cheat = false) {
 		App.UI.DOM.appendNewElement("h2", el, "Piercings");
 
 		for (const piercing of piercingLocations.concat(["chastity"])) {
-			r.push(App.UI.DOM.makeElement("div", App.Desc.piercing(slave, piercing)));
+			if (piercing === "nipples") {
+				r.push(App.UI.DOM.makeElement("div", App.Desc.piercing(slave, "nipple"))); // This is stupid, but the variable is slave.nipplesPiercing, plural nipples, but in almost all other places we refer to plural body parts as singular (eyebrow, ear, nose, etc).
+			} else {
+				r.push(App.UI.DOM.makeElement("div", App.Desc.piercing(slave, piercing)));
+			}
 		}
 		if (r.length === 0) {
 			r.push(App.UI.DOM.makeElement("div", `${His} smooth ${slave.skin} skin is completely unpierced.`));
-- 
GitLab