From e345aa333365a8f508a7c521bb693c19fd931053 Mon Sep 17 00:00:00 2001 From: Dimastra <65184747+Dimastra@users.noreply.github.com> Date: Tue, 27 Aug 2024 03:30:42 +0300 Subject: [PATCH] fix method OnEntityEnter in DamageContactsSystem (#31494) fix Co-authored-by: Dimastra --- Content.Shared/Damage/Systems/DamageContactsSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Damage/Systems/DamageContactsSystem.cs b/Content.Shared/Damage/Systems/DamageContactsSystem.cs index b08ef77fed..3cc73a87c5 100644 --- a/Content.Shared/Damage/Systems/DamageContactsSystem.cs +++ b/Content.Shared/Damage/Systems/DamageContactsSystem.cs @@ -65,7 +65,7 @@ public sealed class DamageContactsSystem : EntitySystem if (HasComp(otherUid)) return; - if (_whitelistSystem.IsWhitelistFail(component.IgnoreWhitelist, otherUid)) + if (_whitelistSystem.IsWhitelistPass(component.IgnoreWhitelist, otherUid)) return; var damagedByContact = EnsureComp(otherUid); -- 2.51.2