From 78bfce227b829c12baae7eb8a355fa99632ae202 Mon Sep 17 00:00:00 2001 From: osjarw <62134478+osjarw@users.noreply.github.com> Date: Wed, 19 Jun 2024 03:20:57 +0300 Subject: [PATCH] Fix air alarms (#29172) Broken by #28272 --- Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs b/Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs index b9ab1098977ed5..81a3968e6ff04a 100644 --- a/Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs +++ b/Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs @@ -12,6 +12,7 @@ using Robust.Server.Audio; using Robust.Server.GameObjects; using Robust.Shared.Audio; +using Robust.Shared.Prototypes; using Robust.Shared.Utility; namespace Content.Server.Atmos.Monitor.Systems; @@ -87,7 +88,7 @@ private void OnPacketRecv(EntityUid uid, AtmosAlarmableComponent component, Devi return; if (!args.Data.TryGetValue(DeviceNetworkConstants.Command, out string? cmd) - || !args.Data.TryGetValue(AlertSource, out HashSet? sourceTags)) + || !args.Data.TryGetValue(AlertSource, out HashSet>? sourceTags)) { return; }