Removes some unused fields (#2603)

* removes some unused fields

* thats an oopsie

Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Paul Ritter
2020-11-27 11:10:08 +01:00
committed by GitHub
parent 5c0cf1b1a0
commit d80ec927bb
8 changed files with 2 additions and 25 deletions

View File

@@ -77,8 +77,6 @@ namespace Content.Client.GameObjects.Components.Body.Surgery
private SpriteView SpriteView { get; }
private Control EntityControl { get; }
private Label DisplayText { get; }
public int CallbackData { get; }

View File

@@ -279,19 +279,6 @@ namespace Content.Client.GameObjects.Components.Storage
args.Button.Pressed = false;
StorageEntity.Interact(control.EntityUid);
}
/// <summary>
/// Function assigned to button that adds items to the storage entity.
/// </summary>
private void OnAddItemButtonPressed(BaseButton.ButtonEventArgs args)
{
var controlledEntity = IoCManager.Resolve<IPlayerManager>().LocalPlayer.ControlledEntity;
if (controlledEntity.TryGetComponent(out HandsComponent hands))
{
StorageEntity.SendNetworkMessage(new InsertEntityMessage());
}
}
}
/// <summary>

View File

@@ -24,8 +24,6 @@ namespace Content.Client.GameObjects.EntitySystems
[Dependency] private readonly IMapManager _mapManager = default!;
[Dependency] private readonly IResourceCache _resourceCache = default!;
private readonly Dictionary<float, Color> _fireCache = new();
// Gas overlays
private readonly float[] _timer = new float[Atmospherics.TotalNumberOfGases];
private readonly float[][] _frameDelays = new float[Atmospherics.TotalNumberOfGases][];