Skip to content
Snippets Groups Projects
Commit f7ec037f authored by pregmodfan's avatar pregmodfan
Browse files

Improvement for WombNormalizePreg - it's now take care about .pellyPreg if it...

Improvement for WombNormalizePreg - it's now take care about .pellyPreg if it not set to zero after pregnancy end.
parent 8ba94d68
Branches
Tags
1 merge request!1499Tweak
...@@ -260,11 +260,7 @@ window.WombNormalizePreg = function(actor) ...@@ -260,11 +260,7 @@ window.WombNormalizePreg = function(actor)
//console.log("advancing .preg"); //console.log("advancing .preg");
} }
actor.pregType = actor.womb.length;
actor.pregSource = actor.womb[0].fatherID; actor.pregSource = actor.womb[0].fatherID;
actor.bellyPreg = WombGetVolume(actor);
} }
else if (actor.womb.length == 0 && actor.broodmother < 1) else if (actor.womb.length == 0 && actor.broodmother < 1)
{ {
...@@ -280,4 +276,7 @@ window.WombNormalizePreg = function(actor) ...@@ -280,4 +276,7 @@ window.WombNormalizePreg = function(actor)
if (actor.pregWeek > 0) // We can't properly set postpartum here, but can normalize obvious error with forgotten property. if (actor.pregWeek > 0) // We can't properly set postpartum here, but can normalize obvious error with forgotten property.
actor.pregWeek = 0; actor.pregWeek = 0;
} }
actor.pregType = actor.womb.length;
actor.bellyPreg = WombGetVolume(actor);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment