From 6c6272b3f1290cae3c4d3ea2b06f90264bde2ba4 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Sun, 27 Dec 2020 01:17:29 -0800
Subject: [PATCH] Fix lingering heelLength()s.

---
 src/js/slaveCostJS.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js
index 98d54d5a1ef..a736300474d 100644
--- a/src/js/slaveCostJS.js
+++ b/src/js/slaveCostJS.js
@@ -213,9 +213,9 @@ globalThis.BeautyArray = (function() {
 				}
 			} else {
 				if (heightPass(slave)) {
-					adjustBeauty("Height: Statuesque Glorification", ((slave.height + heelLength(slave) - 169) * ((arcology.FSStatuesqueGlorification / 50) + 0.5)));
+					adjustBeauty("Height: Statuesque Glorification", ((slave.height + shoeHeight(slave) - 169) * ((arcology.FSStatuesqueGlorification / 50) + 0.5)));
 				} else {
-					adjustBeauty("Height: Statuesque Glorification", -(((arcology.FSStatuesqueGlorification / 10) + (170 - slave.height + heelLength(slave))) * 2));
+					adjustBeauty("Height: Statuesque Glorification", -(((arcology.FSStatuesqueGlorification / 10) + (170 - slave.height + shoeHeight(slave))) * 2));
 				}
 			}
 		} else {
-- 
GitLab