From 5804ff2c45b72b799dba894f4dd99786db852ca2 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Tue, 11 Jul 2023 23:34:58 -0400
Subject: [PATCH] Player side

---
 src/endWeek/nextWeek/nextWeek.js | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/endWeek/nextWeek/nextWeek.js b/src/endWeek/nextWeek/nextWeek.js
index f926536e357..f2d70e09ad2 100644
--- a/src/endWeek/nextWeek/nextWeek.js
+++ b/src/endWeek/nextWeek/nextWeek.js
@@ -61,8 +61,15 @@ App.EndWeek.nextWeek = function() {
 	}
 	if (V.PC.lactation === 1) {
 		if (V.PC.lactationDuration === 1) {
-			V.PC.boobsMilk = milkAmount(V.PC) * 20;
+			let boobsMilkIntegrityPC = 0;
+			if (V.PC.boobsMilk > 0) {
+				boobsMilkIntegrityPC = V.PC.boobsMilk;
+				V.PC.boobs -= V.PC.boobsMilk;
+				V.PC.boobsMilk = 0;
+			}
 			// V.PC.boobsMilk = Math.round(10 * V.PC.lactationAdaptation);
+			V.PC.boobsMilk = milkAmount(V.PC) * 20;
+			V.PC.boobsMilk += boobsMilkIntegrityPC;
 			V.PC.boobsMilk = Math.round(V.PC.boobsMilk / 10) * 10;
 			V.PC.boobs += V.PC.boobsMilk;
 		}
@@ -174,8 +181,8 @@ App.EndWeek.nextWeek = function() {
 			slave.induceLactation--;
 		}
 		if (slave.lactation === 1) {
-			let boobsMilkIntegrity = 0;
 			if (slave.lactationDuration === 1) {
+				let boobsMilkIntegrity = 0;
 				if (slave.boobsMilk > 0) {
 					boobsMilkIntegrity = slave.boobsMilk;
 					slave.boobs -= slave.boobsMilk;
-- 
GitLab