diff --git a/src/endWeek/nextWeek/nextWeek.js b/src/endWeek/nextWeek/nextWeek.js index f926536e357e3a62f08361fc033ba530c72f2540..f2d70e09ad20c16b8046bf72a06a38a00f3e48b1 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;