Bullet impact effects (#9530)
This commit is contained in:
@@ -1,19 +1,8 @@
|
||||
using Content.Shared.Projectiles;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Client.Projectiles
|
||||
{
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedProjectileComponent))]
|
||||
public sealed class ProjectileComponent : SharedProjectileComponent
|
||||
{
|
||||
public override void HandleComponentState(ComponentState? curState, ComponentState? nextState)
|
||||
{
|
||||
if (curState is ProjectileComponentState compState)
|
||||
{
|
||||
Shooter = compState.Shooter;
|
||||
IgnoreShooter = compState.IgnoreShooter;
|
||||
}
|
||||
}
|
||||
}
|
||||
public sealed class ProjectileComponent : SharedProjectileComponent {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user