diff --git a/Content.Shared/Damage/Systems/DamageContactsSystem.cs b/Content.Shared/Damage/Systems/DamageContactsSystem.cs index 3cc73a87c5..9a53d83eb2 100644 --- a/Content.Shared/Damage/Systems/DamageContactsSystem.cs +++ b/Content.Shared/Damage/Systems/DamageContactsSystem.cs @@ -42,11 +42,11 @@ public sealed class DamageContactsSystem : EntitySystem { var otherUid = args.OtherEntity; - if (!TryComp(uid, out var body)) + if (!TryComp(otherUid, out var body)) return; var damageQuery = GetEntityQuery(); - foreach (var ent in _physics.GetContactingEntities(uid, body)) + foreach (var ent in _physics.GetContactingEntities(otherUid, body)) { if (ent == uid) continue;