diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js index 59ca7fdfa4b27266aa77391ae15c4cb19e0baa81..8e125626134653e70993f23c2b6f0da6ca14d796 100644 --- a/src/js/birth/birth.js +++ b/src/js/birth/birth.js @@ -71,13 +71,16 @@ globalThis.birth = function(slave, {birthStorm = false, cSection = false} = {}) slave.counter.laborCount++; } el.append(birthCritical()); - if (cSection && slave.broodmother === 0 && V.bellyImplants === 1) { + if (!slaveDead && cSection && slave.broodmother === 0 && V.bellyImplants === 1) { el.append(implantImplant()); } } if (slaveDead) { removeSlave(slave); + V.nextButton = "Back to Main"; + V.nextLink = "Main"; + App.Utils.updateUserButton(); } else { if (cSection) { App.Medicine.Modification.addScar(slave, "belly", "c-section");