Bullet impact effects (#9530)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Content.Server.Projectiles;
|
||||
using Content.Server.Projectiles.Components;
|
||||
using Content.Server.Singularity.Components;
|
||||
using Content.Shared.Singularity.Components;
|
||||
@@ -29,7 +30,8 @@ namespace Content.Server.ParticleAccelerator.Components
|
||||
Logger.Error("ParticleProjectile tried firing, but it was spawned without a ProjectileComponent");
|
||||
return;
|
||||
}
|
||||
projectileComponent.IgnoreEntity(firer);
|
||||
|
||||
_entMan.EntitySysManager.GetEntitySystem<ProjectileSystem>().SetShooter(projectileComponent, firer);
|
||||
|
||||
if (!_entMan.TryGetComponent<SinguloFoodComponent?>(Owner, out var singuloFoodComponent))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user