]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix air alarms (#29172)
authorosjarw <62134478+osjarw@users.noreply.github.com>
Wed, 19 Jun 2024 00:20:57 +0000 (03:20 +0300)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2024 00:20:57 +0000 (16:20 -0800)
Broken by #28272

Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs

index 2875d4a3d5d32d39d21889bce90c3da068f183a1..1b3b11068c52692cb3d2459ef7f638bc8622600d 100644 (file)
@@ -11,6 +11,7 @@ using Content.Shared.Tag;
 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;
@@ -86,7 +87,7 @@ public sealed class AtmosAlarmableSystem : EntitySystem
             return;
 
         if (!args.Data.TryGetValue(DeviceNetworkConstants.Command, out string? cmd)
-            || !args.Data.TryGetValue(AlertSource, out HashSet<string>? sourceTags))
+            || !args.Data.TryGetValue(AlertSource, out HashSet<ProtoId<TagPrototype>>? sourceTags))
         {
             return;
         }