From: Dimastra <65184747+Dimastra@users.noreply.github.com> Date: Tue, 27 Aug 2024 00:30:42 +0000 (+0300) Subject: fix method OnEntityEnter in DamageContactsSystem (#31494) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e345aa333365a8f508a7c521bb693c19fd931053;p=space-station-14.git fix method OnEntityEnter in DamageContactsSystem (#31494) fix Co-authored-by: Dimastra --- 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);