diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js index 29c25080acb0c58d8206735030653a524652774c..7d375415264255b8e6edf0ae0de2fe5462024053 100644 --- a/src/js/birth/birth.js +++ b/src/js/birth/birth.js @@ -3853,7 +3853,7 @@ globalThis.birth = function(slave, {birthStorm = false} = {}) { const el = document.createElement("p"); let he2, his2; const r = []; - let tempSub; + const tempSub = getSlave(slave.subTarget); const pbw = random(1, 100); const babies = slave.pregType > 1 ? `babies` : `baby`; const children = slave.pregType > 1 ? `children` : `child`;