diff --git a/Content.Client/Communications/CommunicationsConsoleComponent.cs b/Content.Client/Communications/CommunicationsConsoleComponent.cs index d3db95d5bd..2c3f696653 100644 --- a/Content.Client/Communications/CommunicationsConsoleComponent.cs +++ b/Content.Client/Communications/CommunicationsConsoleComponent.cs @@ -15,5 +15,5 @@ public sealed partial class CommunicationsConsoleComponent : SharedCommunication /// If this isn't true, create a dummy entity or adjust the margins/scale in MessagingControls.xaml. /// [DataField] - public EntProtoId ScreenDisplayId = "ScreenDummy"; + public EntProtoId ScreenDisplayId = "Screen"; } diff --git a/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs b/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs index cc0e06c9da..f382de1e79 100644 --- a/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs +++ b/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs @@ -24,6 +24,8 @@ public sealed partial class CommunicationsConsoleBoundUserInterface(EntityUid ow [ViewVariables] private CommunicationsConsoleMenu? _menu; + private static readonly EntProtoId FallbackScreen = "Screen"; + /// protected override void Open() { @@ -38,6 +40,8 @@ public sealed partial class CommunicationsConsoleBoundUserInterface(EntityUid ow if (EntMan.TryGetComponent(Owner, out var console)) _menu.SetBroadcastDisplayEntity(console.ScreenDisplayId); + else + _menu.SetBroadcastDisplayEntity(FallbackScreen); } public void AlertLevelSelected(ProtoId level) diff --git a/Content.Client/Communications/UI/Widgets/MessagingControls.xaml b/Content.Client/Communications/UI/Widgets/MessagingControls.xaml index 284da9774d..4120b33fd2 100644 --- a/Content.Client/Communications/UI/Widgets/MessagingControls.xaml +++ b/Content.Client/Communications/UI/Widgets/MessagingControls.xaml @@ -25,12 +25,14 @@