diff --git a/Content.Server/GameObjects/Components/Projectiles/ProjectileComponent.cs b/Content.Server/GameObjects/Components/Projectiles/ProjectileComponent.cs index d1d0e45fd3..0cbbd5ab55 100644 --- a/Content.Server/GameObjects/Components/Projectiles/ProjectileComponent.cs +++ b/Content.Server/GameObjects/Components/Projectiles/ProjectileComponent.cs @@ -63,6 +63,15 @@ namespace Content.Server.GameObjects.Components.Projectiles /// void ICollideBehavior.CollideWith(IEntity entity) { + // This is so entities that shouldn't get a collision are ignored. + if (entity.TryGetComponent(out ICollidableComponent collidable) && collidable.Hard == false) + { + _deleteOnCollide = false; + return; + } + else + _deleteOnCollide = true; + if (_soundHitSpecies != null && entity.HasComponent()) { EntitySystem.Get().PlayAtCoords(_soundHitSpecies, entity.Transform.GridPosition);