From: pathetic meowmeow Date: Tue, 22 Apr 2025 12:34:53 +0000 (-0400) Subject: Make funding allocation computer more configurable (#36790) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=907f4b39cd40eb0ca4a555400e8088faa3d61d7d;p=space-station-14.git Make funding allocation computer more configurable (#36790) * Make funding allocation computer more configurable * admin logging * unused * ccvar enabled --------- Co-authored-by: ScarKy0 --- diff --git a/Content.Client/Cargo/BUI/FundingAllocationConsoleBoundUserInterface.cs b/Content.Client/Cargo/BUI/FundingAllocationConsoleBoundUserInterface.cs index eb65be40d3..49a545b480 100644 --- a/Content.Client/Cargo/BUI/FundingAllocationConsoleBoundUserInterface.cs +++ b/Content.Client/Cargo/BUI/FundingAllocationConsoleBoundUserInterface.cs @@ -17,9 +17,9 @@ public sealed class FundingAllocationConsoleBoundUserInterface(EntityUid owner, _menu = this.CreateWindow(); - _menu.OnSavePressed += d => + _menu.OnSavePressed += (dicts, primary, lockbox) => { - SendMessage(new SetFundingAllocationBuiMessage(d)); + SendMessage(new SetFundingAllocationBuiMessage(dicts, primary, lockbox)); }; } diff --git a/Content.Client/Cargo/UI/FundingAllocationMenu.xaml b/Content.Client/Cargo/UI/FundingAllocationMenu.xaml index 0686ea77d8..62f0ae924a 100644 --- a/Content.Client/Cargo/UI/FundingAllocationMenu.xaml +++ b/Content.Client/Cargo/UI/FundingAllocationMenu.xaml @@ -1,15 +1,18 @@  + Title="{Loc 'cargo-funding-alloc-console-menu-title'}"> -