diff --git a/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs b/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs index bd3fa842b4..a2334ba73e 100644 --- a/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs +++ b/Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs @@ -418,10 +418,8 @@ public abstract class SharedMeleeWeaponSystem : EntitySystem { var damage = component.Damage * GetModifier(component, true); - // Can't attack yourself // For consistency with wide attacks stuff needs damageable. - if (user == ev.Target || - Deleted(ev.Target) || + if (Deleted(ev.Target) || !HasComp(ev.Target) || !TryComp(ev.Target, out var targetXform) || // Not in LOS.