From bf4db865b02cb1603a12e91fddba1dd1b66b095b Mon Sep 17 00:00:00 2001
From: lowercase-donkey <lowercasedonkey@gmail.com>
Date: Sat, 19 Jan 2019 14:42:20 -0500
Subject: [PATCH] fix menial earnings

---
 src/uncategorized/arcmgmt.tw | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/uncategorized/arcmgmt.tw b/src/uncategorized/arcmgmt.tw
index fd45dc1eefc..2bcfc01e24e 100644
--- a/src/uncategorized/arcmgmt.tw
+++ b/src/uncategorized/arcmgmt.tw
@@ -1103,7 +1103,7 @@ This week, rents from $arcologies[0].name came to @@.yellowgreen;<<print cashFor
 You own
 <<if $menials > 0>>
 	<<if $menials > Math.trunc(_LSCD / _slaveProductivity - _SCD)>>
-		<<set _earnings += Math.trunc(_LSCD / _slaveProductivity - _SCD) * 10>>
+		<<set _menialEarnings += Math.trunc(_LSCD / _slaveProductivity - _SCD) * 10>>
 		<br>@@.red;more menial slaves than there was work,@@ consider selling some. You own
 	<<else>>
 		<<set _menialEarnings = $menials*10>>
@@ -1136,9 +1136,8 @@ You own
 	<<set _fuckdollsEarnings += random(1,10)>>
 	<<run cashX(_fuckdollsEarnings, "fuckdolls")>>
 <</if>>
-<<set _earnings += random(1,10)>>
 
-earning you @@.yellowgreen;<<print cashFormat(_earnings)>>.@@
+earning you @@.yellowgreen;<<print cashFormat(_menialEarnings + _bioreactorEarnings + _fuckdollsEarnings)>>.@@
 <</if>>
 
 <<set _AWeekGrowth = $AGrowth>>
-- 
GitLab