Fix compiler warnings.
This commit is contained in:
@@ -43,7 +43,6 @@ namespace Content.Server.GameObjects.Components.Atmos
|
||||
|
||||
private int _integrity = 3;
|
||||
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[ViewVariables] private BoundUserInterface? _userInterface;
|
||||
|
||||
[ViewVariables] public GasMixture? Air { get; set; }
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace Content.Server.GameObjects.Components.Damage
|
||||
public class DestructibleComponent : RuinableComponent, IDestroyAct
|
||||
{
|
||||
[Dependency] private readonly IEntitySystemManager _entitySystemManager = default!;
|
||||
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
|
||||
[Dependency] private readonly IRobustRandom _random = default!;
|
||||
|
||||
protected ActSystem ActSystem;
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace Content.Server.GameObjects.Components.Damage
|
||||
[ComponentReference(typeof(IDamageableComponent))]
|
||||
public abstract class RuinableComponent : DamageableComponent
|
||||
{
|
||||
[Dependency] private IRobustRandom _random = default!;
|
||||
/// <summary>
|
||||
/// Sound played upon destruction.
|
||||
/// </summary>
|
||||
|
||||
@@ -27,7 +27,6 @@ namespace Content.Server.GameObjects.Components.Singularity
|
||||
public class ContainmentFieldGeneratorComponent : Component, ICollideBehavior
|
||||
{
|
||||
[Dependency] private IPhysicsManager _physicsManager = null!;
|
||||
[Dependency] private IEntityManager _entityManager = null!;
|
||||
|
||||
public override string Name => "ContainmentFieldGenerator";
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace Content.Server.GameObjects.Components.Singularity
|
||||
[Dependency] private readonly IEntityManager _entityManager = default!;
|
||||
[Dependency] private readonly IRobustRandom _robustRandom = default!;
|
||||
|
||||
[ComponentDependency] private AppearanceComponent? _appearance;
|
||||
[ComponentDependency] private AccessReader? _accessReader;
|
||||
[ComponentDependency] private AppearanceComponent? _appearance = default;
|
||||
[ComponentDependency] private AccessReader? _accessReader = default;
|
||||
|
||||
public override string Name => "Emitter";
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ namespace Content.Server.GameObjects.Components.Singularity
|
||||
public class SingularityComponent : Component, ICollideBehavior
|
||||
{
|
||||
[Dependency] private IEntityManager _entityManager = null!;
|
||||
[Dependency] private IMapManager _mapManager = null!;
|
||||
[Dependency] private IRobustRandom _random = null!;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user