diff --git a/.envrc b/.envrc new file mode 100644 index 0000000000..3550a30f2d --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs b/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs index 0577aa1fcb..9af4c49d2a 100644 --- a/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs +++ b/Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs @@ -51,6 +51,8 @@ protected override void Open() (uint)_window.PillDosage.Value, (uint)_window.PillNumber.Value, _window.LabelLine)); _window.CreateBottleButton.OnPressed += _ => SendMessage( new ChemMasterOutputToBottleMessage((uint)_window.BottleDosage.Value, _window.LabelLine)); + _window.CreateCartridgeButton.OnPressed += _ => SendMessage( + new ChemMasterCreateCartridgeMessage((uint)_window.CartridgeDosage.Value, _window.LabelLine)); for (uint i = 0; i < _window.PillTypeButtons.Length; i++) { diff --git a/Content.Client/Chemistry/UI/ChemMasterWindow.xaml b/Content.Client/Chemistry/UI/ChemMasterWindow.xaml index e5ffeb7809..0f6fe4e763 100644 --- a/Content.Client/Chemistry/UI/ChemMasterWindow.xaml +++ b/Content.Client/Chemistry/UI/ChemMasterWindow.xaml @@ -125,6 +125,14 @@