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
|
|
@ -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…
Reference in New Issue