Skip to content

Commit

Permalink
Fix air alarms (#29172)
Browse files Browse the repository at this point in the history
Broken by #28272
  • Loading branch information
osjarw authored Jun 19, 2024
1 parent 0b98ce8 commit 707f1f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Server/Atmos/Monitor/Systems/AtmosAlarmableSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,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;
Expand Down Expand Up @@ -86,7 +87,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<string>? sourceTags))
|| !args.Data.TryGetValue(AlertSource, out HashSet<ProtoId<TagPrototype>>? sourceTags))
{
return;
}
Expand Down

0 comments on commit 707f1f4

Please sign in to comment.