mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
fix method OnEntityEnter in DamageContactsSystem (#31494)
fix Co-authored-by: Dimastra <dimastra@users.noreply.github.com>
This commit is contained in:
parent
76223e8e14
commit
e345aa3333
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ public sealed class DamageContactsSystem : EntitySystem
|
|||
if (HasComp<DamagedByContactComponent>(otherUid))
|
||||
return;
|
||||
|
||||
if (_whitelistSystem.IsWhitelistFail(component.IgnoreWhitelist, otherUid))
|
||||
if (_whitelistSystem.IsWhitelistPass(component.IgnoreWhitelist, otherUid))
|
||||
return;
|
||||
|
||||
var damagedByContact = EnsureComp<DamagedByContactComponent>(otherUid);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue