From e7fcbf82060e79351b027a7bac924f9e7a0b2ff6 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Tue, 4 Feb 2020 20:28:36 -0800
Subject: [PATCH] Gotta set the facility name correctly if that's gonna work

---
 src/uncategorized/brothelReport.tw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uncategorized/brothelReport.tw b/src/uncategorized/brothelReport.tw
index 1f10fa596e4..4b7cfccc772 100644
--- a/src/uncategorized/brothelReport.tw
+++ b/src/uncategorized/brothelReport.tw
@@ -309,7 +309,7 @@
 			<</silently>>
 		<</if>>
 
-		<<set _seed = Math.max(App.Ads.getMatchedCategoryCount($slaves[$i]), 1)>>
+		<<set _seed = Math.max(App.Ads.getMatchedCategoryCount($slaves[$i], "brothel"), 1)>>
 		<<set _adsIncome = _seed * random(50,60) * Math.trunc($brothelAdsSpending/1000)>>
 		<<set _cashX = _adsIncome, getSlaveStatisticData($slaves[$i], $facility.brothel).adsIncome += _adsIncome>>
 		<<run cashX(_cashX, "brothelAds")>>
-- 
GitLab