Bullet impact effects (#9530)
This commit is contained in:
@@ -22,22 +22,5 @@ namespace Content.Server.Projectiles.Components
|
||||
public bool ForceSound = false;
|
||||
|
||||
public bool DamagedEntity;
|
||||
|
||||
public float TimeLeft { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// Function that makes the collision of this object ignore a specific entity so we don't collide with ourselves
|
||||
/// </summary>
|
||||
/// <param name="shooter"></param>
|
||||
public void IgnoreEntity(EntityUid shooter)
|
||||
{
|
||||
Shooter = shooter;
|
||||
Dirty();
|
||||
}
|
||||
|
||||
public override ComponentState GetComponentState()
|
||||
{
|
||||
return new ProjectileComponentState(Shooter, IgnoreShooter);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user