From f48a3062b49dda6f00ad2c0dd5202d93002e4a06 Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Fri, 31 Jul 2020 18:33:33 -0700
Subject: [PATCH] Simplify removal of bodyguard in pit fights

---
 src/uncategorized/seLethalPit.tw    | 2 +-
 src/uncategorized/seNonlethalPit.tw | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/uncategorized/seLethalPit.tw b/src/uncategorized/seLethalPit.tw
index d3b2665c1d3..eb2162ba57f 100644
--- a/src/uncategorized/seLethalPit.tw
+++ b/src/uncategorized/seLethalPit.tw
@@ -14,7 +14,7 @@
 		<<set _fighterOne = getSlave(_fighterOne)>>
 	<<else>>
 		/* BG should not be in here! */
-		<<run $fighterIDs.deleteWith( id => id === $BodyguardID)>>
+		<<run $fighterIDs.delete($BodyguardID)>>
 		<<set _fighterOne = _S.Bodyguard>>
 	<</if>>
 	<<setLocalPronouns _fighterOne>>
diff --git a/src/uncategorized/seNonlethalPit.tw b/src/uncategorized/seNonlethalPit.tw
index 6175426d3bb..91e4a4189eb 100644
--- a/src/uncategorized/seNonlethalPit.tw
+++ b/src/uncategorized/seNonlethalPit.tw
@@ -7,7 +7,7 @@
 	<<set _fighterOne = getSlave(_fighterOne)>>
 <<else>>
 	/* BG should not be in here! */
-	<<run $fighterIDs.deleteWith( id => id === $BodyguardID)>>
+	<<run $fighterIDs.delete($BodyguardID)>>
 	<<set _fighterOne = _S.Bodyguard>>
 <</if>>
 <<setLocalPronouns _fighterOne>>
-- 
GitLab