From 41ebe8184edc0282105d2872cc29a7889adfa127 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Fri, 25 Dec 2020 01:12:47 -0500 Subject: [PATCH] fix categories for shoes --- src/js/utilsAssessSlave.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/utilsAssessSlave.js b/src/js/utilsAssessSlave.js index 1d397eff3f2..7120c7da44d 100644 --- a/src/js/utilsAssessSlave.js +++ b/src/js/utilsAssessSlave.js @@ -250,9 +250,9 @@ globalThis.shoeHeelCategory = function(slave) { const height = App.Data.shoes.get(slave.shoes) ? App.Data.shoes.get(slave.shoes).heelHeight : 0; // Height is in cm if (height > 20) { return 3; - } else if (height > 8) { + } else if (height > 5) { return 2; - } else if (height > 4) { + } else if (height > 0) { return 1; } else { return 0; -- GitLab