From 0799ff11c9f596f55c6ab5e46df7ec41f4e64b68 Mon Sep 17 00:00:00 2001 From: pregmodfan <pregmodfan@cock.li> Date: Wed, 22 May 2019 21:03:36 +0300 Subject: [PATCH] superfetation should respect infertility and contraceptives - wrong property fixed 2 --- src/js/pregJS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/pregJS.js b/src/js/pregJS.js index 4a34fced852..3d15ed734ef 100644 --- a/src/js/pregJS.js +++ b/src/js/pregJS.js @@ -121,7 +121,7 @@ window.setPregType = function(actor) { } } ovum = Math.clamp(ovum, 0, 8); - } else if (actor.pregType === 0 || (actor.geneticQuirks.superfetation > 1 && actor.preg >= 0)) { + } else if (actor.preg === 0 || (actor.geneticQuirks.superfetation > 1 && actor.preg >= 0)) { if (actor.eggType === "horse" || actor.eggType === "cow") { if (actor.geneticQuirks.fertility === 2 && actor.geneticQuirks.hyperFertility === 2) { // Do not mix with sperm ovum += jsEither([0, 0, 0, 0, 0, 0, 1]); -- GitLab