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

@@ -26,7 +26,7 @@ namespace Content.Client.GameObjects.Components.Power
{
base.Open();
_window = new ApcWindow(IoCManager.Resolve<IDisplayManager>())
_window = new ApcWindow()
{
MarginRight = 426.0f, MarginBottom = 270.0f
};
@@ -124,7 +124,7 @@ namespace Content.Client.GameObjects.Components.Power
public Label ExternalPowerStateLabel { get; set; }
public ProgressBar ChargeBar { get; set; }
public ApcWindow(IDisplayManager displayMan) : base(displayMan)
public ApcWindow()
{
Title = "APC";
var rows = new VBoxContainer("Rows");

View File

@@ -23,7 +23,7 @@ namespace Content.Client.GameObjects.Components.Power
{
LastWindow.Dispose();
}
LastWindow = new SS14Window(IoCManager.Resolve<IDisplayManager>())
LastWindow = new SS14Window()
{
Title = "Power Debug Tool",
};