From d9ab8357e0680ab38b78ba8712ddad6ad20315f7 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Sat, 26 Sep 2020 01:33:29 -0400 Subject: [PATCH] fix --- src/js/birth/birth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/birth/birth.js b/src/js/birth/birth.js index 29c25080acb..7d375415264 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`; -- GitLab