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

@@ -31,7 +31,7 @@ namespace Content.Client.GameObjects.Components.Storage
{
base.OnAdd();
Window = new StorageWindow(IoCManager.Resolve<IDisplayManager>())
Window = new StorageWindow()
{ StorageEntity = this};
}
@@ -109,7 +109,7 @@ namespace Content.Client.GameObjects.Components.Storage
private Label Information;
public ClientStorageComponent StorageEntity;
public StorageWindow(IDisplayManager displayMan) : base(displayMan)
public StorageWindow()
{
Size = new Vector2(180.0f, 320.0f);
}