From 6d01e2e58d96947d1bd594f6ddd2cfcc8920e54b Mon Sep 17 00:00:00 2001 From: ShookEagle Date: Mon, 15 Sep 2025 16:32:20 -0500 Subject: [PATCH] Use SteamID for participant identity (not Equals) In attempt to fix relentless damage blocking --- mod/Jailbreak.LastRequest/LastRequestManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/Jailbreak.LastRequest/LastRequestManager.cs b/mod/Jailbreak.LastRequest/LastRequestManager.cs index 81beec2..6dbff90 100644 --- a/mod/Jailbreak.LastRequest/LastRequestManager.cs +++ b/mod/Jailbreak.LastRequest/LastRequestManager.cs @@ -88,7 +88,8 @@ public class LastRequestManager(ILRLocale messages, IServiceProvider provider) // Both of them are in LR, verify they're in same LR if (victimLR == null) return false; - if (victimLR.Prisoner.Equals(attacker) || victimLR.Guard.Equals(attacker)) + if (victimLR.Prisoner.SteamID == attacker.SteamID + || victimLR.Guard.SteamID == attacker.SteamID) // The person attacking is the victim's LR participant, allow damage return false;