From 0d132f3661a6df838e78cc386aace4d9778ffa5c Mon Sep 17 00:00:00 2001 From: DCoded <dcoded@live.com> Date: Tue, 12 Mar 2019 18:31:55 -0400 Subject: [PATCH] Fix --- src/uncategorized/salon.tw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uncategorized/salon.tw b/src/uncategorized/salon.tw index 2b5fb58a563..6809d0945f2 100644 --- a/src/uncategorized/salon.tw +++ b/src/uncategorized/salon.tw @@ -434,10 +434,10 @@ Set horn color: | Custom length: <<textbox "_newHLength" _oldHLength "Salon">> <<if $showInches >= 1>> cm (<<= cmToInchString($activeSlave.hLength)>>) - [[Apply|Salon][cashX(forceNeg($modCost), "slaveMod", $activeSlave), $activeSlave.hLength = Number(_newHLength)]] + [[Apply|Salon][cashX(forceNeg($modCost), "slaveMod", $activeSlave), $activeSlave.hLength = (Number(_newHLength) || $activeSlave.hLength)]] <<else>> cm - [[Apply|Salon][cashX(forceNeg($modCost), "slaveMod", $activeSlave), $activeSlave.hLength = Number(_newHLength)]] + [[Apply|Salon][cashX(forceNeg($modCost), "slaveMod", $activeSlave), $activeSlave.hLength = (Number(_newHLength) || $activeSlave.hLength)]] <</if>> -- GitLab