diff --git a/devNotes/twine JS.txt b/devNotes/twine JS.txt index 36ab7d643589f1db5492f0a3b19f430d666992c1..3c023d72f7f732f876af3e71f7ebb4f611bfbddc 100644 --- a/devNotes/twine JS.txt +++ b/devNotes/twine JS.txt @@ -11009,7 +11009,7 @@ window.WombInit = function(actor) { if (actor.womb.length > 0 && actor.womb[0].genetics == undefined) { var i=0 actor.womb.forEach(function(ft){ - ft.genetics = generateGenetics(actor.ID, actor.pregSource, i); + ft.genetics = generateGenetics(actor, actor.pregSource, i); i++; }); } else if (actor.womb.length == 0 && actor.pregType > 0 && actor.broodmother == 0) { diff --git a/src/js/wombJS.tw b/src/js/wombJS.tw index f71ad82d8ff182e647343dc756cdea96357043e9..8f89c3159425307ab3c5ef62ce3179171e52080d 100644 --- a/src/js/wombJS.tw +++ b/src/js/wombJS.tw @@ -55,7 +55,7 @@ window.WombInit = function(actor) { if (actor.womb.length > 0 && actor.womb[0].genetics == undefined) { var i=0 actor.womb.forEach(function(ft){ - ft.genetics = generateGenetics(actor.ID, actor.pregSource, i); + ft.genetics = generateGenetics(actor, actor.pregSource, i); i++; }); } else if (actor.womb.length == 0 && actor.pregType > 0 && actor.broodmother == 0) {