From: EchoOfNothing <52498373+EchoOfNothing@users.noreply.github.com> Date: Sat, 27 Dec 2025 14:18:45 +0000 (+0200) Subject: Merge IFF controls into one control. Make syndicate IFF turned off by default. ... X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ee2f1da8c2cda4a52c4d3784cf46c6f2f79fcf91;p=space-station-14.git Merge IFF controls into one control. Make syndicate IFF turned off by default. (#42104) * Merge IFF controls into one control. * Implement logic to hide IFF of sydicate IFF console on map load. Add hideOnInit property to IFFConsoleComponent * DataField --------- Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> --- diff --git a/Content.Client/Shuttles/BUI/IFFConsoleBoundUserInterface.cs b/Content.Client/Shuttles/BUI/IFFConsoleBoundUserInterface.cs index 8d84abed8a..704307f06b 100644 --- a/Content.Client/Shuttles/BUI/IFFConsoleBoundUserInterface.cs +++ b/Content.Client/Shuttles/BUI/IFFConsoleBoundUserInterface.cs @@ -23,7 +23,6 @@ public sealed class IFFConsoleBoundUserInterface : BoundUserInterface _window = this.CreateWindowCenteredLeft(); _window.ShowIFF += SendIFFMessage; - _window.ShowVessel += SendVesselMessage; } protected override void UpdateState(BoundUserInterfaceState state) @@ -44,14 +43,6 @@ public sealed class IFFConsoleBoundUserInterface : BoundUserInterface }); } - private void SendVesselMessage(bool obj) - { - SendMessage(new IFFShowVesselMessage() - { - Show = obj, - }); - } - protected override void Dispose(bool disposing) { base.Dispose(disposing); diff --git a/Content.Client/Shuttles/UI/IFFConsoleWindow.xaml b/Content.Client/Shuttles/UI/IFFConsoleWindow.xaml index dab11a7b62..90684889a6 100644 --- a/Content.Client/Shuttles/UI/IFFConsoleWindow.xaml +++ b/Content.Client/Shuttles/UI/IFFConsoleWindow.xaml @@ -9,12 +9,6 @@