From e2768351789212889ce4df641ad8b0bff2eb4a00 Mon Sep 17 00:00:00 2001 From: pregmodfan <pregmodfan@cock.li> Date: Thu, 15 Nov 2018 12:42:23 +0200 Subject: [PATCH] BC for fetus fatherID --- src/js/wombJS.tw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/wombJS.tw b/src/js/wombJS.tw index c61d9a35a09..9355f778131 100644 --- a/src/js/wombJS.tw +++ b/src/js/wombJS.tw @@ -463,12 +463,15 @@ window.BCReserveInit = function() slave.womb.forEach(function(ft){ if (typeof ft.reserved != 'string') ft.reserved = ""; + if (typeof ft.motherID != 'number'); //setting missing biological mother ID for fetus. + ft.motherID = slave.ID; }); }); SV.PC.womb.forEach(function(ft){ if (typeof ft.reserved != 'string') ft.reserved = ""; + ft.motherID = SV.PC.ID; }); } -- GitLab