Fix compiler warnings
This commit is contained in:
@@ -13,16 +13,10 @@ namespace Content.Server.BodySystem {
|
||||
|
||||
/// <summary>
|
||||
/// Component containing the data for a dropped Mechanism entity.
|
||||
/// </summary>
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class DroppedMechanismComponent : Component
|
||||
{
|
||||
|
||||
#pragma warning disable CS0649
|
||||
[Dependency]
|
||||
private IPrototypeManager _prototypeManager;
|
||||
#pragma warning restore
|
||||
|
||||
public sealed override string Name => "DroppedMechanism";
|
||||
|
||||
[ViewVariables]
|
||||
|
||||
@@ -30,12 +30,6 @@ namespace Content.Server.GameObjects.Components.Weapon.Melee
|
||||
[RegisterComponent]
|
||||
public class ServerSurgeryToolComponent : SharedSurgeryToolComponent, IAfterInteract
|
||||
{
|
||||
#pragma warning disable 649
|
||||
[Dependency] private readonly IMapManager _mapManager;
|
||||
[Dependency] private readonly IEntitySystemManager _entitySystemManager;
|
||||
[Dependency] private readonly IPhysicsManager _physicsManager;
|
||||
#pragma warning restore 649
|
||||
|
||||
public HashSet<IPlayerSession> SubscribedSessions = new HashSet<IPlayerSession>();
|
||||
private Dictionary<string, BodyPart> _surgeryOptionsCache = new Dictionary<string, BodyPart>();
|
||||
private BodyManagerComponent _targetCache;
|
||||
|
||||
Reference in New Issue
Block a user