From 6c3aabeb68b697aa977d2a04e38d2dc2d0acd6a5 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Thu, 8 Jul 2021 11:01:23 -0400
Subject: [PATCH] ndef catch when 0

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

diff --git a/src/npc/surgery/surgeryDegradation.js b/src/npc/surgery/surgeryDegradation.js
index da3f7a13fc0..342a9fc5d79 100644
--- a/src/npc/surgery/surgeryDegradation.js
+++ b/src/npc/surgery/surgeryDegradation.js
@@ -6,8 +6,8 @@ App.UI.SlaveInteract.surgeryDegradation = function(slave) {
 		he, his, him, hers, himself, sister, wife, girl
 	} = getPronouns(slave);
 	const {heP} = getPronouns(V.PC).appendSuffix("P");
-	const boobFat = V.boobFat;
-	const buttFat = V.buttFat;
+	const boobFat = Math.max(V.boobFat, 0) || 0;
+	const buttFat = Math.max(V.buttFat, 0) || 0;
 	const pubertyAge = Math.min(slave.pubertyAgeXX, slave.pubertyAgeXY);
 	let hairChanges = 0;
 	let hair = '';
-- 
GitLab