From 40578cf65f29564b612d543b6798e8d304589893 Mon Sep 17 00:00:00 2001
From: j <okp57855@psoxs.com>
Date: Sat, 30 Dec 2017 00:31:08 +1300
Subject: [PATCH] More checks and catches.

---
 src/uncategorized/buySlaves.tw | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/uncategorized/buySlaves.tw b/src/uncategorized/buySlaves.tw
index 8b5ca2923dd..7a53e29873d 100644
--- a/src/uncategorized/buySlaves.tw
+++ b/src/uncategorized/buySlaves.tw
@@ -262,7 +262,7 @@ The parts of your arcology you own can house a total of $PopCap menial slaves.
 
 <br>
 <<if $helots > 1>>
-	You own <<print commaNum($helots)>> menial slaves.
+	You own <<print commaNum(Math.trunc($helots))>> menial slaves.
 <<elseif $helots > 0>>
 	You own one menial slave.
 <<else>>
@@ -325,7 +325,7 @@ The market price of menials is <<print cashFormat(_menialPrice)>>.
 <</if>>
 
 <<if $fuckdolls > 1>>
-	<br>You own $fuckdolls standard Fuckdolls.
+	<br>You own <<print commaNum(Math.trunc($fuckdolls))>> standard Fuckdolls.
 <<elseif $fuckdolls > 0>>
 	<br>You own one standard Fuckdoll.
 <<elseif $arcologies[0].FSPaternalist == "unset">>
@@ -363,7 +363,7 @@ The market price of standard fuckdolls is <<print cashFormat(_menialPrice*2)>>.
 <</if>>
 
 <<if $menialBioreactors > 1>>
-	<br>You own $menialBioreactors standard bioreactors.
+	<br>You own <<print commaNum(Math.trunc($menialBioreactors))>> standard bioreactors.
 <<elseif $menialBioreactors > 0>>
 	<br>You own one standard bioreactor.
 <<elseif $arcologies[0].FSPaternalist == "unset">>
-- 
GitLab