diff --git a/Content.Client/Shipyard/BUI/ShipyardConsoleBoundUserInterface.cs b/Content.Client/Shipyard/BUI/ShipyardConsoleBoundUserInterface.cs index 4401bdd4163..d1703159a70 100644 --- a/Content.Client/Shipyard/BUI/ShipyardConsoleBoundUserInterface.cs +++ b/Content.Client/Shipyard/BUI/ShipyardConsoleBoundUserInterface.cs @@ -15,6 +15,8 @@ public sealed class ShipyardConsoleBoundUserInterface : BoundUserInterface private ShipyardRulesPopup? _rulesWindow; public int Balance { get; private set; } + public int? ShipSellValue { get; private set; } + public ShipyardConsoleBoundUserInterface(EntityUid owner, Enum uiKey) : base(owner, uiKey) { } @@ -57,6 +59,7 @@ protected override void UpdateState(BoundUserInterfaceState state) return; Balance = cState.Balance; + ShipSellValue = cState.ShipSellValue; var castState = (ShipyardConsoleInterfaceState) state; Populate(castState.UiKey); _menu?.UpdateState(castState); diff --git a/Content.Client/Shipyard/UI/ShipyardConsoleMenu.xaml b/Content.Client/Shipyard/UI/ShipyardConsoleMenu.xaml index 56d012872f6..16dad360d4f 100644 --- a/Content.Client/Shipyard/UI/ShipyardConsoleMenu.xaml +++ b/Content.Client/Shipyard/UI/ShipyardConsoleMenu.xaml @@ -5,6 +5,7 @@ MinSize="460 280">