mirror of
https://github.com/edgegamers/Jailbreak.git
synced 2025-12-05 20:40:29 -08:00
Use SteamID for participant identity (not Equals) In attempt to fix relentless damage blocking
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user