Fix compiler warnings and remove dead code.

This commit is contained in:
Pieter-Jan Briers
2019-05-28 00:30:34 +02:00
parent 996b45a04f
commit 9c3587b00e
12 changed files with 15 additions and 37 deletions

View File

@@ -3,7 +3,6 @@ using Content.Client.Research;
using Content.Shared.GameObjects.Components.Research;
using Content.Shared.Research;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.Interfaces.Graphics;
using Robust.Shared.GameObjects.Components.UserInterface;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
@@ -14,8 +13,6 @@ namespace Content.Client.GameObjects.Components.Research
public class LatheBoundUserInterface : BoundUserInterface
{
#pragma warning disable CS0649
[Dependency]
private IDisplayManager _displayManager;
[Dependency]
private IPrototypeManager _prototypeManager;
#pragma warning restore
@@ -50,8 +47,8 @@ namespace Content.Client.GameObjects.Components.Research
Lathe = lathe;
Database = database;
menu = new LatheMenu(_displayManager) {Owner = this};
queueMenu = new LatheQueueMenu(_displayManager) { Owner = this };
menu = new LatheMenu {Owner = this};
queueMenu = new LatheQueueMenu { Owner = this };
menu.OnClose += Close;