Bullet impact effects (#9530)
This commit is contained in:
@@ -2,6 +2,7 @@ using System.Threading;
|
||||
using Content.Server.Administration.Logs;
|
||||
using Content.Server.Power.Components;
|
||||
using Content.Server.Power.EntitySystems;
|
||||
using Content.Server.Projectiles;
|
||||
using Content.Server.Projectiles.Components;
|
||||
using Content.Server.Singularity.Components;
|
||||
using Content.Server.Storage.Components;
|
||||
@@ -187,7 +188,7 @@ namespace Content.Server.Singularity.EntitySystems
|
||||
return;
|
||||
}
|
||||
|
||||
projectileComponent.IgnoreEntity(component.Owner);
|
||||
Get<ProjectileSystem>().SetShooter(projectileComponent, component.Owner);
|
||||
|
||||
physicsComponent
|
||||
.LinearVelocity = EntityManager.GetComponent<TransformComponent>(component.Owner).WorldRotation.ToWorldVec() * 20f;
|
||||
|
||||
Reference in New Issue
Block a user