Use SteamID for participant identity (not Equals) In attempt to fix relentless damage blocking

This commit is contained in:
ShookEagle
2025-09-15 16:32:20 -05:00
parent 4de90e6ae9
commit 6d01e2e58d

View File

@@ -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;