From d7edf3191b4f3a3db1994aec22ef30ffe7df2411 Mon Sep 17 00:00:00 2001
From: kopareigns <kopareigns@gmail.com>
Date: Sun, 3 Feb 2019 22:38:08 -0500
Subject: [PATCH] Fixes

---
 src/pregmod/manageCorporation.tw | 2 +-
 src/uncategorized/pit.tw         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pregmod/manageCorporation.tw b/src/pregmod/manageCorporation.tw
index e8e8f79ef6d..5803bd691f5 100644
--- a/src/pregmod/manageCorporation.tw
+++ b/src/pregmod/manageCorporation.tw
@@ -473,7 +473,7 @@ __Division Management__
 	<<if $corpDivBreakDev > 20>>
 		<<if $corpDivBreakSlaves >= $corpDivBreakDev - 10>>
 			<<set _corpDivBreakSlavesSell = $corpDivBreakSlaves - ($corpDivBreakDev - 10)>>
-			| [[Downsize x10|Manage Corporation][$corpDivBreakDev -= 10, $corpCash += 72000 + Math.trunc(11.5 * _corpDivBreakSlavesSell * menialSlaveCost()), $corpDivBreakSlaves -= $_corpDivBreakSlavesSell, $corpAssetsDev -= 72000]]
+			| [[Downsize x10|Manage Corporation][$corpDivBreakDev -= 10, $corpCash += 72000 + Math.trunc(11.5 * _corpDivBreakSlavesSell * menialSlaveCost()), $corpDivBreakSlaves -= _corpDivBreakSlavesSell, $corpAssetsDev -= 72000]]
 		<<else>>
 			| [[Downsize x10|Manage Corporation][$corpDivBreakDev -= 10, $corpCash += 72000, $corpAssetsDev -= 72000]]
 		<</if>>
diff --git a/src/uncategorized/pit.tw b/src/uncategorized/pit.tw
index d55c2f422e2..c8576e20bcf 100644
--- a/src/uncategorized/pit.tw
+++ b/src/uncategorized/pit.tw
@@ -52,7 +52,7 @@ $pitNameCaps is clean and ready,
 			<</if>>
 		<<else>>
 			Your Bodyguard will fight a slave selected from the pool at random. [[Make both slots random|Pit][$pitBG = 0, $pitAnimal = 0]]
-			<<if $_CL > 0 || $_HL > 0 || $_FL > 0>> | [[Have a slave fight an animal|Pit][$pitBG = 0, $pitAnimal = 1]]<</if>>
+			<<if _CL > 0 || _HL > 0 || _FL > 0>> | [[Have a slave fight an animal|Pit][$pitBG = 0, $pitAnimal = 1]]<</if>>
 		<</if>>
 	<</if>>
 
-- 
GitLab