diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js index 3d20c374ab2bc4cbbff4aa3b99923a4cff2fb52a..0d6bd24ea96ed37b813efee0cc6291c4ef85ac47 100644 --- a/src/js/birth/birth.js +++ b/src/js/birth/birth.js @@ -9037,14 +9037,10 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) globalThis.sendNewbornsToFacility = function(mom, babiesBeingBorn) { const remainingBabies = []; for (const ovum of babiesBeingBorn) { - if (ovum.reserve === "incubator") { - if (V.tanks.length < V.incubator) { - App.Facilities.Incubator.newChild(generateChild(mom, ovum, true)); - } - } else if (ovum.reserve === "nursery") { - if (V.cribs.length < V.nursery) { - App.Facilities.Nursery.newChild(generateChild(mom, ovum)); - } + if (ovum.reserve === "incubator" && V.tanks.length < V.incubator) { + App.Facilities.Incubator.newChild(generateChild(mom, ovum, true)); + } else if (ovum.reserve === "nursery" && V.cribs.length < V.nursery) { + App.Facilities.Nursery.newChild(generateChild(mom, ovum)); } else { remainingBabies.push(ovum); }