From ee6c6d12a4df780b6b102778629fdcc47f080d04 Mon Sep 17 00:00:00 2001 From: jgl <jgl6@protonmail.com> Date: Sun, 26 Feb 2023 09:43:02 +0100 Subject: [PATCH] Fix variable use V.PC --- src/endWeek/economics/persBusiness.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endWeek/economics/persBusiness.js b/src/endWeek/economics/persBusiness.js index f7ec3e84077..81bd7508f0a 100644 --- a/src/endWeek/economics/persBusiness.js +++ b/src/endWeek/economics/persBusiness.js @@ -95,7 +95,7 @@ App.EndWeek.personalBusiness = function() { r.push(`You focus on getting ready to give birth this week; when it happens, you want to be prepared.`); } else if (isInduced(V.PC)) { r.push(`This week, you focus on your labor and the impending birth of your ${V.PC.pregType > 1 ? "children" : "child"}.`); - } else if (PC.geneMods.rapidCellGrowth !== 1 && PC.bellyPreg >= 100000 && PC.belly > (PC.pregAdaptation * 3200) && (PC.bellyPreg >= 500000 || PC.wombImplant !== "restraint")) { + } else if (V.PC.geneMods.rapidCellGrowth !== 1 && V.PC.bellyPreg >= 100000 && V.PC.belly > (V.PC.pregAdaptation * 3200) && (V.PC.bellyPreg >= 500000 || V.PC.wombImplant !== "restraint")) { r.push(`You're stuck in bed waiting to pop. Hopefully this means giving birth, and not the alternative.`); } } else if (V.personalAttention.task === PersonalAttention.WHORING) { -- GitLab