Remove unused IEntitySystemManager dependencies.
This commit is contained in:
@@ -28,7 +28,6 @@ namespace Content.Server.GameObjects.Components.Weapon.Melee
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[Dependency] private IRobustRandom _robustRandom;
|
||||
[Dependency] private IEntitySystemManager _entitySystemManager;
|
||||
[Dependency] private readonly ISharedNotifyManager _notifyManager;
|
||||
[Dependency] private readonly ILocalizationManager _localizationManager;
|
||||
#pragma warning restore 649
|
||||
|
||||
@@ -27,9 +27,6 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Hitscan
|
||||
[RegisterComponent]
|
||||
public class HitscanWeaponComponent : Component, IInteractUsing
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[Dependency] private readonly IEntitySystemManager _entitySystemManager;
|
||||
#pragma warning restore 649
|
||||
private const float MaxLength = 20;
|
||||
public override string Name => "HitscanWeapon";
|
||||
|
||||
|
||||
@@ -30,10 +30,6 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Projectile
|
||||
[RegisterComponent]
|
||||
public class BallisticMagazineWeaponComponent : BallisticWeaponComponent, IUse, IInteractUsing, IMapInit
|
||||
{
|
||||
|
||||
#pragma warning disable 649
|
||||
[Dependency] private readonly IEntitySystemManager _entitySystemManager;
|
||||
#pragma warning restore 649
|
||||
private const float BulletOffset = 0.2f;
|
||||
|
||||
public override string Name => "BallisticMagazineWeapon";
|
||||
|
||||
@@ -16,10 +16,6 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Projectile
|
||||
/// </summary>
|
||||
public abstract class BallisticWeaponComponent : BaseProjectileWeaponComponent
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[Dependency] private readonly IEntitySystemManager _entitySystemManager;
|
||||
#pragma warning restore 649
|
||||
|
||||
private Chamber[] _chambers;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -29,7 +29,6 @@ namespace Content.Server.GameObjects.Components.Weapon.Ranged.Projectile
|
||||
|
||||
#pragma warning disable 649
|
||||
[Dependency] private IRobustRandom _spreadRandom;
|
||||
[Dependency] private readonly IEntitySystemManager _entitySystemManager;
|
||||
#pragma warning restore 649
|
||||
|
||||
public override void ExposeData(ObjectSerializer serializer)
|
||||
|
||||
Reference in New Issue
Block a user