From d38b0cca2933abb98df09bc15d1ab577ebdb7dc8 Mon Sep 17 00:00:00 2001
From: Anu <anulithic@gmail.com>
Date: Thu, 11 Aug 2022 17:22:53 -0700
Subject: [PATCH] Fix "resyncSlaveHight" spelling

---
 src/events/intro/pcAppearance.js       | 2 +-
 src/js/utilsSlave.js                   | 4 ++--
 src/npc/startingGirls/startingGirls.js | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/events/intro/pcAppearance.js b/src/events/intro/pcAppearance.js
index f7966826f1a..b8b04b9e38e 100644
--- a/src/events/intro/pcAppearance.js
+++ b/src/events/intro/pcAppearance.js
@@ -28,7 +28,7 @@ App.UI.Player.appearance = function(options, summary = false) {
 	option = options.addCustomOption()
 		.addButton(
 			"Make average",
-			() => resyncSlaveHight(V.PC),
+			() => resyncSlaveHeight(V.PC),
 			""
 		);
 
diff --git a/src/js/utilsSlave.js b/src/js/utilsSlave.js
index c0801642693..496a6e87d2a 100644
--- a/src/js/utilsSlave.js
+++ b/src/js/utilsSlave.js
@@ -958,7 +958,7 @@ globalThis.randomCareer = function(slave) {
 /**
  * @param {FC.HumanState} slave
  */
-globalThis.resyncSlaveHight = function(slave) {
+globalThis.resyncSlaveHeight = function(slave) {
 	slave.height = Height.random(slave);
 };
 
@@ -966,7 +966,7 @@ globalThis.resyncSlaveHight = function(slave) {
  * @param {App.Entity.SlaveState} slave
  */
 globalThis.resyncSlaveToAge = function(slave) {
-	resyncSlaveHight(slave);
+	resyncSlaveHeight(slave);
 	slave.pubertyXX = slave.actualAge < slave.pubertyAgeXX ? 0 : 1;
 	slave.pubertyXY = slave.actualAge < slave.pubertyAgeXY ? 0 : 1;
 	if (slave.actualAge < 12) {
diff --git a/src/npc/startingGirls/startingGirls.js b/src/npc/startingGirls/startingGirls.js
index ff060db4081..9584f33b8b0 100644
--- a/src/npc/startingGirls/startingGirls.js
+++ b/src/npc/startingGirls/startingGirls.js
@@ -716,7 +716,7 @@ App.StartingGirls.physical = function(slave, cheat = false) {
 	option = options.addCustomOption(`Average height for a ${slave.physicalAge} year old is ${heightToEitherUnit(Height.mean(slave))}`)
 		.addButton(
 			"Make average",
-			() => resyncSlaveHight(slave),
+			() => resyncSlaveHeight(slave),
 			""
 		);
 	if (cheat) {
-- 
GitLab