diff --git a/src/js/wombJS.js b/src/js/wombJS.js index 57b897fd8e0cebb884cf16bd0efcba415c034487..1a1f8a0fd7ff3c0a20e75e01eb9b118ea4aad148 100644 --- a/src/js/wombJS.js +++ b/src/js/wombJS.js @@ -54,14 +54,14 @@ globalThis.WombInit = function(actor) { } // backward compatibility setup. Fully accurate for normal pregnancy only. - if (actor.womb.length > 0 && actor.womb[0].genetics === undefined && actor.eggType === "human") { + if (actor.womb.length > 0 && actor.womb[0].genetics === undefined) { i = 0; actor.womb.forEach(function(ft) { if (typeof ft.reserve !== 'string') { ft.reserve = ""; } if (typeof ft.motherID !== 'number') { // setting missing biological mother ID for fetus. - ft.motherID = slave.ID; + ft.motherID = actor.ID; } if (ft.ID === undefined) { ft.ID = generateNewID();