From d0b798b63fc58138043007f2635b8ac99b80391e Mon Sep 17 00:00:00 2001 From: qwerltaz <69696513+qwerltaz@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:21:51 +0200 Subject: [PATCH] Fix communications console thinking it can announce in the first 5 seconds after spawning it (#38305) * init * Revert "init" This reverts commit 7bdeb355a75333c4cba29351eb1d93d428c84366. * fair --- Content.Server/Communications/CommunicationsConsoleSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Communications/CommunicationsConsoleSystem.cs b/Content.Server/Communications/CommunicationsConsoleSystem.cs index 09dec3e23d..7d381f79ef 100644 --- a/Content.Server/Communications/CommunicationsConsoleSystem.cs +++ b/Content.Server/Communications/CommunicationsConsoleSystem.cs @@ -42,7 +42,6 @@ namespace Content.Server.Communications { // All events that refresh the BUI SubscribeLocalEvent(OnAlertLevelChanged); - SubscribeLocalEvent((uid, comp, _) => UpdateCommsConsoleInterface(uid, comp)); SubscribeLocalEvent(_ => OnGenericBroadcastEvent()); SubscribeLocalEvent(_ => OnGenericBroadcastEvent()); @@ -85,6 +84,7 @@ namespace Content.Server.Communications public void OnCommunicationsConsoleMapInit(EntityUid uid, CommunicationsConsoleComponent comp, MapInitEvent args) { comp.AnnouncementCooldownRemaining = comp.InitialDelay; + UpdateCommsConsoleInterface(uid, comp); } ///