diff --git a/Content.Client/Chemistry/UI/ChemMasterWindow.xaml.cs b/Content.Client/Chemistry/UI/ChemMasterWindow.xaml.cs index 4a6ac41b12c..966b979fae6 100644 --- a/Content.Client/Chemistry/UI/ChemMasterWindow.xaml.cs +++ b/Content.Client/Chemistry/UI/ChemMasterWindow.xaml.cs @@ -33,7 +33,6 @@ public sealed partial class ChemMasterWindow : FancyWindow private const string TransferringAmountColor = "#ffa500"; private ReagentSortMethod _currentSortMethod = ReagentSortMethod.Alphabetical; private ChemMasterBoundUserInterfaceState? _lastState; - private string _lastAmountText = "50"; private int _transferAmount = 50; @@ -112,22 +111,6 @@ public ChemMasterWindow() SortMethod.AddItem(Loc.GetString("chem-master-window-sort-method-Amount-text"), (int) ReagentSortMethod.Amount); SortMethod.AddItem(Loc.GetString("chem-master-window-sort-method-Time-text"), (int) ReagentSortMethod.Time); SortMethod.OnItemSelected += HandleChildPressed; - - BufferTransferButton.OnPressed += HandleDiscardTransferPress; - BufferDiscardButton.OnPressed += HandleDiscardTransferPress; - } - - private void HandleDiscardTransferPress(BaseButton.ButtonEventArgs args) - { - var buttons = BufferInfo.Children - .Where(c => c is Button) - .Cast