diff --git a/src/events/intro/pcAppearance.js b/src/events/intro/pcAppearance.js index f7966826f1a6c0f07c9f75058acb7035e4fecf54..b8b04b9e38e7d25d93a32790fb13e46f05d391da 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 c0801642693a48dc640e4f042d2c0ad284be9f38..496a6e87d2aa6e05660dd8bd9e360fe619e5a865 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 ff060db4081b54e06e7ba90b3d9b629f8c2bcb4b..9584f33b8b09b12e6812079d89d435dd1a21c7a1 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) {