From 843c8c2eb328537aa34c0f100b99187bda990774 Mon Sep 17 00:00:00 2001
From: DCoded <dcoded@live.com>
Date: Tue, 12 Mar 2019 19:23:44 -0400
Subject: [PATCH] Minor changes

---
 src/uncategorized/salon.tw | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/uncategorized/salon.tw b/src/uncategorized/salon.tw
index 6809d0945f2..fea02011f30 100644
--- a/src/uncategorized/salon.tw
+++ b/src/uncategorized/salon.tw
@@ -2,7 +2,8 @@
 
 <<set $nextButton = "Continue", $nextLink = "Slave Interact">>
 
-<<set $showEncyclopedia = 1>><<set $encyclopedia = "The Auto Salon">><<set _oldHLength = $activeSlave.hLength, _newHLength = 0>>
+<<set $showEncyclopedia = 1>><<set $encyclopedia = "The Auto Salon">>
+<<set _oldHLength = $activeSlave.hLength, _newHLength = 0>>
 
 <h1>The Auto Salon</h1>
 
@@ -433,7 +434,11 @@ Set horn color:
 	<</if>>
 		| Custom length: <<textbox "_newHLength" _oldHLength "Salon">>
 		<<if $showInches >= 1>>
-			cm (<<= cmToInchString($activeSlave.hLength)>>)
+			<<if $showInches == 1>>
+				cm (<<= cmToInchString($activeSlave.hLength)>>)
+			<<else>>
+				in
+			<</if>>
 			[[Apply|Salon][cashX(forceNeg($modCost), "slaveMod", $activeSlave), $activeSlave.hLength = (Number(_newHLength) || $activeSlave.hLength)]]
 		<<else>>
 			cm
-- 
GitLab