From ec5bcbab83df81fa81571c218a8ef96b61b1ed78 Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Mon, 8 Apr 2019 23:41:52 -0400
Subject: [PATCH] And now less undefineds

---
 src/pregmod/incubatorReport.tw         | 2 +-
 src/pregmod/physicalDevelopment.tw     | 2 +-
 src/pregmod/saInflation.tw             | 2 +-
 src/uncategorized/saLongTermEffects.tw | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/pregmod/incubatorReport.tw b/src/pregmod/incubatorReport.tw
index 6b3cfaaa657..830e4061a3c 100644
--- a/src/pregmod/incubatorReport.tw
+++ b/src/pregmod/incubatorReport.tw
@@ -230,7 +230,7 @@
 	<<if $incubatorUpgradeReproduction == 1>>
 		<br>
 		<<set _rearQuirk = $tanks[_inc].geneticQuirks.rearLipedema == 2 ? 2 : 0>>
-		<<if _rearQuirk == 0>><<set _rearQuirkDivider = 1>><</if>>
+		<<set _rearQuirkDivider = _rearQuirk == 0 ? 1 : _rearQuirk>>
 		<<if $incubatorReproductionSetting == 2>>
 			$His developing body is being flooded with hormones.
 			<<if $incubatorWeightSetting == 1>>
diff --git a/src/pregmod/physicalDevelopment.tw b/src/pregmod/physicalDevelopment.tw
index 02776eeaf0f..c88999ace62 100644
--- a/src/pregmod/physicalDevelopment.tw
+++ b/src/pregmod/physicalDevelopment.tw
@@ -3,7 +3,7 @@
 <<widget "PhysicalDevelopment">>
 
 <<set _rearQuirk = $args[0].geneticQuirks.rearLipedema == 2 ? 2 : 0>>
-<<if _rearQuirk == 0>><<set _rearQuirkDivider = 1>><</if>>
+<<set _rearQuirkDivider = _rearQuirk == 0 ? 1 : _rearQuirk>>
 
 <<if ($args[0].geneMods.NCS == 1)>>
 /* NCS completely blocks all natural physical growth: no height increases. It also blocks all hormonal secondary sexual * characteristics. So, on the female side: no boobs, no butt, no hips, and no labia. And on the male side: no dick, no clit, no balls, no scrotum, no shoulders. */
diff --git a/src/pregmod/saInflation.tw b/src/pregmod/saInflation.tw
index 1c86d15d083..6678fa03ce4 100644
--- a/src/pregmod/saInflation.tw
+++ b/src/pregmod/saInflation.tw
@@ -529,7 +529,7 @@
 
 <<if $slaves[$i].inflationType == "milk" && $slaves[$i].bellyFluid >= 1500>>
 	<<set _rearQuirk = $slaves[$i].geneticQuirks.rearLipedema == 2 ? 2 : 0>>
-	<<if _rearQuirk == 0>><<set _rearQuirkDivider = 1>><</if>>
+	<<set _rearQuirkDivider = _rearQuirk == 0 ? 1 : _rearQuirk>>
 	<<if $slaves[$i].weight < 200>>
 		$His body @@.lime;grows a little more padded@@ as it absorbs the milk contained in $his digestive track.
 		<<set $slaves[$i].weight += 2>>
diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw
index 61da702496f..9e2ccf216c3 100644
--- a/src/uncategorized/saLongTermEffects.tw
+++ b/src/uncategorized/saLongTermEffects.tw
@@ -3299,7 +3299,7 @@
 		<<if ($slaves[$i].vagina > -1) && ($slaves[$i].ovaries != 0) && ($slaves[$i].vaginaLube < 2)>>
 			<<set _Effects.push("VaginaWetter")>>
 		<</if>>
-		<<if _rearQuirk == 0>><<set _rearQuirkDivider = 1>><</if>>
+		<<set _rearQuirkDivider = _rearQuirk == 0 ? 1 : _rearQuirk>>
 		<<if (($slaves[$i].butt-$slaves[$i].buttImplant) < 2*_rearQuirk) && (($slaves[$i].geneMods.NCS == 0) || (random(1,100) > 75/_rearQuirkDivider))>>
 			<<set _Effects.push("ButtBigger")>>
 		<</if>>
-- 
GitLab