From a9c52e6387bc7d86b2284e0f6b0131ae0806d9f3 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 4 Jan 2021 19:07:23 -0500
Subject: [PATCH] fix punc

---
 src/facilities/surgery/surgeryPasageFaceAndHair.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/facilities/surgery/surgeryPasageFaceAndHair.js b/src/facilities/surgery/surgeryPasageFaceAndHair.js
index 3ab2cb4ffd0..7e6923a2aaa 100644
--- a/src/facilities/surgery/surgeryPasageFaceAndHair.js
+++ b/src/facilities/surgery/surgeryPasageFaceAndHair.js
@@ -662,11 +662,7 @@ App.UI.surgeryPassageHairAndFace = function(slave, cheat = false) {
 		} else {
 			r.push(`${He} has working`);
 			if (slave.hears === -1) {
-				r.push(`inner ears, but is hearing impaired`);
-				if (slave.earShape === "none") {
-					r.push(`, likely due to missing the outer structure`);
-				}
-				r.push(`.`);
+				r.push(`inner ears, but is hearing impaired${(slave.earShape === "none") ? `, likely due to missing the outer structure`:``}.`);
 			} else {
 				r.push(`ears and good hearing.`);
 			}
-- 
GitLab