From aed1a0d985831af0c06dc15363901733d70a58b8 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 14 Aug 2019 22:06:52 +0200 Subject: [PATCH] And I messed up again. --- .../VendingMachines/VendingMachineMenu.cs | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/Content.Client/VendingMachines/VendingMachineMenu.cs b/Content.Client/VendingMachines/VendingMachineMenu.cs index 271e8b8ade..8d2ff1b257 100644 --- a/Content.Client/VendingMachines/VendingMachineMenu.cs +++ b/Content.Client/VendingMachines/VendingMachineMenu.cs @@ -3,12 +3,7 @@ using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.CustomControls; using Robust.Shared.IoC; using Robust.Shared.Maths; -using System; using System.Collections.Generic; -using System.Collections.Specialized; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Robust.Client.GameObjects; using Robust.Client.Graphics; using Robust.Client.Interfaces.ResourceManagement; @@ -22,7 +17,7 @@ namespace Content.Client.VendingMachines { protected override Vector2? CustomSize => (300, 450); - private ItemList _items; + private readonly ItemList _items; private List _cachedInventory; #pragma warning disable CS0649 @@ -32,18 +27,9 @@ namespace Content.Client.VendingMachines private readonly IPrototypeManager _prototypeManager; #pragma warning restore public VendingMachineBoundUserInterface Owner { get; set; } + public VendingMachineMenu() { - } - - public VendingMachineMenu(string name) : base(name) - { - - } - - protected override void Initialize() - { - base.Initialize(); IoCManager.InjectDependencies(this); _items = new ItemList()