From 28b0bae88f6d31c2a5e80c41f1944caccd43bd8a Mon Sep 17 00:00:00 2001
From: Pregmodder <pregmodder@gmail.com>
Date: Thu, 11 May 2017 02:58:12 -0400
Subject: [PATCH] Fixes.

---
 src/uncategorized/buySlaves.tw | 6 +++---
 src/utility/assayWidgets.tw    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/uncategorized/buySlaves.tw b/src/uncategorized/buySlaves.tw
index 9f8b8e755bf..ed4854d7c58 100644
--- a/src/uncategorized/buySlaves.tw
+++ b/src/uncategorized/buySlaves.tw
@@ -159,7 +159,7 @@ The parts of your arcology you own can house a total of $PopCap menial slaves.
 <</if>>
 The market price of menials is ¤_menialPrice.
 <<set _optionsBreak = 0>>
-<<if $PopCap < $helots+$fuckdolls+$menialBioreactors>>
+<<if $PopCap > $helots+$fuckdolls+$menialBioreactors>>
 	[[Buy|Buy Slaves][$helots+=1,$menialDemandFactor+=1,$cash-=_menialPrice]]
 	<<if $cash > _menialPrice*10>>
 		[[(x10)|Buy Slaves][$helots+=10,$menialDemandFactor+=10,$cash-=_menialPrice*10]]
@@ -219,7 +219,7 @@ The market price of menials is ¤_menialPrice.
 <<if ($fuckdolls > 0) || ($arcologies[0].FSPaternalist == "unset")>>
 The market price of standard fuckdolls is ¤<<print _menialPrice*2>>.
 <<set _optionsBreak = 0>>
-<<if $PopCap < $helots+$fuckdolls+$menialBioreactors>>
+<<if $PopCap > $helots+$fuckdolls+$menialBioreactors>>
 <<if $arcologies[0].FSPaternalist == "unset">>
 	[[Buy|Buy Slaves][$fuckdolls+=1,$menialDemandFactor+=1,$cash-=_menialPrice*2]]
 	<<if $cash > _menialPrice*20>>
@@ -257,7 +257,7 @@ The market price of standard fuckdolls is ¤<<print _menialPrice*2>>.
 <<if ($menialBioreactors > 0) || ($arcologies[0].FSPaternalist == "unset")>>
 The market price of standard bioreactors is ¤<<print (_menialPrice-100)>>.
 <<set _optionsBreak = 0>>
-<<if $PopCap < $helots+$fuckdolls+$menialBioreactors>>
+<<if $PopCap > $helots+$fuckdolls+$menialBioreactors>>
 <<if $arcologies[0].FSPaternalist == "unset">>
 	[[Buy|Buy Slaves][$menialBioreactors+=1,$menialDemandFactor+=1,$cash-=(_menialPrice-100)]]
 	<<if $cash > (_menialPrice-100)*10>>
diff --git a/src/utility/assayWidgets.tw b/src/utility/assayWidgets.tw
index 19e052a01f6..977d9873a4d 100644
--- a/src/utility/assayWidgets.tw
+++ b/src/utility/assayWidgets.tw
@@ -195,7 +195,7 @@
 
 <<if ($arcologies[0].FSTransformationFetishist > 20)>>
 	<<if $args[0].lips > 70>>
-	<<if $args[0].lipsImplant/$args[0].lips < 50)>>
+	<<if ($args[0].lipsImplant/$args[0].lips < 50)>>
 		<<set $beauty -= (($args[0].lips/10)+($arcologies[0].FSTransformationFetishist/20))>>
 	<</if>>
 	<</if>>
-- 
GitLab