From 5fa96b6fc50211d43f37090a4e5112e85e550164 Mon Sep 17 00:00:00 2001
From: kopareigns <kopareigns@gmail.com>
Date: Sat, 15 Dec 2018 14:41:39 -0500
Subject: [PATCH] Bitwise fixes

---
 src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw | 2 +-
 src/uncategorized/slaveSummary.tw                          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw b/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw
index a8ee82383dc..2b15dff2498 100644
--- a/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw
+++ b/src/cheats/mod_EditNeighborArcologyCheatDatatypeCleanup.tw
@@ -114,7 +114,7 @@
 	<<set $arcologies[_i].CyberReputationTarget = Number($arcologies[_i].CyberReputationTarget) || 0>>
 	<<set $arcologies[_i].influenceTarget = Number($arcologies[_i].influenceTarget) || 0>>
 	<<set $arcologies[_i].influenceBonus = Number($arcologies[_i].influenceBonus) || 0>>
-	<<set $arcologies[_i].rival = Number($arcologies[_i].rival) | 0>>
+	<<set $arcologies[_i].rival = Number($arcologies[_i].rival) || 0>>
 <</for>>
 
 You have CHEATED your way to influencing the neighboring arcologies. They have been unscrupulously directed according to your CHEAT whims.
diff --git a/src/uncategorized/slaveSummary.tw b/src/uncategorized/slaveSummary.tw
index 78e8a486f76..5400b645755 100644
--- a/src/uncategorized/slaveSummary.tw
+++ b/src/uncategorized/slaveSummary.tw
@@ -65,7 +65,7 @@
 		   ($Flag == 0 && s.assignment != "be confined in the cellblock")
 		|| ($Flag == 1 && s.assignment == "be confined in the cellblock")
 		|| ($Flag != 0 && $Flag != 1 && s.ID == $Wardeness.ID))),
-	"Wardeness Select":		  s => (s.assignmentVisible == 1 && s.fuckdoll == 0 && s.devotion > 50 && canWalk(s) & canSee(s)),
+	"Wardeness Select":		  s => (s.assignmentVisible == 1 && s.fuckdoll == 0 && s.devotion > 50 && canWalk(s) && canSee(s)),
 	"Arcade":					s => (s.assignmentVisible == 1 && ($arcade >= $arcadeSlaves || $arcadeUpgradeFuckdolls == 1) && (
 		   ($Flag == 0 && s.assignment != "be confined in the arcade")
 		|| ($Flag != 0 && s.assignment == "be confined in the arcade"))),
-- 
GitLab