From 2eee03b35ff4c33cd4097abfb068f3feec255269 Mon Sep 17 00:00:00 2001
From: lowercase-donkey <lowercasedonkey@gmail.com>
Date: Wed, 27 Feb 2019 16:04:36 -0500
Subject: [PATCH] preg toggle not respected in some ads

---
 src/uncategorized/brothel.tw              | 14 ++++++++------
 src/uncategorized/brothelAdvertisement.tw | 14 ++++++++------
 2 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/src/uncategorized/brothel.tw b/src/uncategorized/brothel.tw
index 52d7ed3e934..04ddba28941 100644
--- a/src/uncategorized/brothel.tw
+++ b/src/uncategorized/brothel.tw
@@ -88,12 +88,14 @@ $brothelNameCaps
 	<<else>>
 		some are augmented by implants.
 	<</if>>
-	<<if $brothelAdsPreg == 1>>
-		Most of slaves have firm, rounded bellies.
-	<<elseif $brothelAdsPreg == -1>>
-		Most of the slaves have firm, flat bellies.
-	<<else>>
-		Some of the slaves are pregnant.
+	<<if $seePreg == 1>>
+		<<if $brothelAdsPreg == 1>>
+			Most of slaves have firm, rounded bellies.
+		<<elseif $brothelAdsPreg == -1>>
+			Most of the slaves have firm, flat bellies.
+		<<else>>
+			Some of the slaves are pregnant.
+		<</if>>
 	<</if>>
 	<<if $brothelAdsModded == 1>>
 		Everything is heavily pierced and tattooed.
diff --git a/src/uncategorized/brothelAdvertisement.tw b/src/uncategorized/brothelAdvertisement.tw
index ede82821913..5342f69d4f2 100644
--- a/src/uncategorized/brothelAdvertisement.tw
+++ b/src/uncategorized/brothelAdvertisement.tw
@@ -79,12 +79,14 @@
 	<<else>>
 	some are augmented by implants.
 	<</if>>
-	<<if $brothelAdsPreg == 1>>
-		Most of slaves have firm, rounded bellies.
-	<<elseif $brothelAdsPreg == -1>>
-		Most of the slaves have firm, flat bellies.
-	<<else>>
-		Some of the slaves are pregnant.
+	<<if $seePreg == 1>>
+		<<if $brothelAdsPreg == 1>>
+			Most of slaves have firm, rounded bellies.
+		<<elseif $brothelAdsPreg == -1>>
+			Most of the slaves have firm, flat bellies.
+		<<else>>
+			Some of the slaves are pregnant.
+		<</if>>
 	<</if>>
 	<<if $brothelAdsModded == 1>>
 	Everything is heavily pierced and tattooed.
-- 
GitLab